Viewing 9 posts - 1 through 9 (of 9 total)
Thank you!
April 14, 2016 at 3:14 pm
Thank you, this is nice link. If a maintenance job rebuilds indexes, will it record as an user action?
But database might not being used by any application.
April 14, 2016 at 9:21 am
It was permission issue.
Everything works now.
Thank you all
March 29, 2016 at 7:07 am
Based on the article, I created table
Create Table dbo.DatabaseAudit
(
ServerNamevarchar(255) Not Null
,DBNamevarchar(255) Not Null
,LoginTimedatetime Not Null
,LastBatchdatetime Not Null
,[Status]varchar(55) Not Null
,HostNamevarchar(255) Not Null
,ProgramNamevarchar(255) Not Null
,NTUserNamevarchar(255) Not Null
,LogiNamevarchar(255) Not Null
,AuditDatedatetime...
March 28, 2016 at 12:40 pm
Based on the article, I created table
Create Table dbo.DatabaseAudit
(
ServerNamevarchar(255) Not Null
,DBNamevarchar(255) Not Null
,LoginTimedatetime Not Null
,LastBatchdatetime Not Null
,[Status]varchar(55) Not Null
,HostNamevarchar(255) Not Null
,ProgramNamevarchar(255) Not Null
,NTUserNamevarchar(255) Not Null
,LogiNamevarchar(255) Not Null
,AuditDatedatetime...
March 28, 2016 at 12:40 pm
Thank you, great article, will review.
March 21, 2016 at 6:49 am
I am not user 'test1'. I put it just for example. Of cause I used the real user name 🙂
March 21, 2016 at 6:48 am
I am not user 'test1'. I put it just for example. Of cause I used the real user name 🙂
March 21, 2016 at 6:44 am
Thank you, SSChampion.
But I cannot run the query because do not have permission on sys.dm_db_index_usage_stats .
This code below does not help
USE master;
GO
GRANT VIEW SERVER STATE TO [test1]
GO
March 18, 2016 at 3:09 pm
Viewing 9 posts - 1 through 9 (of 9 total)