Viewing 15 posts - 151 through 165 (of 329 total)
CREATE TABLE [dbo].[A]([DatabaseName] [nvarchar](1000) NULL, [DBSize] [nvarchar](1000) NULL)
insert into A values (DatabaseA , 580960.00 MB)
insert into A values(DatabaseB, 23523.00 GB)
insert into A values(DatabaseC,234.00 KB)
Table values:
DatabaseA 580960.00 MB
DatabaseB ...
May 12, 2020 at 3:55 am
Please ignore my previous comment.
Thanks for the response
November 29, 2019 at 10:22 am
Thanks for the elaborate reply but looks like I still cannot get this to work.
My Query:
CREATE EVENT SESSION [AlterExtendedEvent] ON SERVER
ADD EVENT sqlserver.object_altered(SET collect_database_name=(0)
ACTION(sqlserver.database_name,sqlserver.nt_username,sqlserver.session_nt_username,sqlserver.sql_text)
WHERE ([database_name]='AAAAAA' AND NOT ([nt_domain]='ABC' AND [nt_user]=N'DEF')))
ADD...
November 29, 2019 at 9:24 am
When I use database_name as the only filter it works well.
But when I add nt_user /session_nt_username under predicates everything goes for a toss.I get data I do not want to...
November 28, 2019 at 6:52 am
I tried to filter starting with one filter as suggested and still does not work.Obviously I am doing this completely wrong.Any suggestions please.I still find rows with AAAA\ZZZZ against nt_username...
November 28, 2019 at 6:27 am
Are you saying 'alter' works and not 'ALTER' ?
November 28, 2019 at 4:20 am
This was certainly not an interview question.
1.I have accumulated relevant information from across servers(110+ servers) into a central server using SSIS. But that was more of a SQL monitoring solution...
November 28, 2019 at 4:15 am
Thank you John.
Would you please elaborate on how to configure an email alert once an event happens which we needs to be emailed?
Also...
I am able to capture NTLogins activity.But the...
November 7, 2019 at 3:12 pm
Thanks for the response.I do agree with everything you have mentioned . But I don’t decide.
November 7, 2019 at 3:39 am
Do you know of any 3rd party open source applications which do the work of a trigger ?
November 6, 2019 at 4:26 pm
Even if I use sql audit I believe I need a sql job to frequently check the audit log for whatever data I am looking for in it which should...
November 6, 2019 at 2:38 pm
I tried that . it’s not working
November 6, 2019 at 1:37 am
Awesome Jeff Moden...but not enough ....I did not know I could post here and also expect an answer and then give it back to the interviewer all at the same...
November 3, 2019 at 2:11 pm
Viewing 15 posts - 151 through 165 (of 329 total)