Viewing 15 posts - 16 through 30 (of 34 total)
No, when I run my original query it returns 37 rows, when I also run this query to get database sizes it returns no rows:
SELECT sys.databases.name, ...
August 8, 2018 at 4:19 pm
August 8, 2018 at 3:50 pm
Thanks - I'd played with my original query and seemed to get what I wanted, thought I'd tried this last week and it didn't work:
SELECT...
August 7, 2018 at 3:46 pm
jswong05 (10/21/2015)
October 21, 2015 at 11:15 am
Erland Sommarskog (9/16/2013)
Glenstr (9/16/2013)
Where exactly would I put the "WITH EXECUTE AS 'domain\dbuser' clause in my example?
That is exactly what you use the syntax graphs in Books Online for.
But...
September 16, 2013 at 3:16 pm
GilaMonster (9/11/2013)
Not EXECUTE AS CALLER. EXECUTE AS and specify an explicit login that has insert permissions on the audit table, then you don't need permissions to public.
Where exactly would I...
September 16, 2013 at 2:52 pm
GilaMonster (9/11/2013)
CREATE TRIGGER ...
WITH EXECUTE AS ....
And execute it as a login that has insert permissions into that audit...
September 11, 2013 at 4:53 pm
Erland Sommarskog (9/11/2013)
September 11, 2013 at 4:39 pm
Thanks - well I found an example of a script here[/url], and with a little editing to suit my needs this is what I have come up with so far:...
June 11, 2013 at 9:20 am
thanks for the replies - finally getting back to this task.
Basically what I want to do is find out who connected to a database, what date & time they...
June 8, 2013 at 2:55 pm
Gianluca Sartori (1/4/2012)
Glenstr (1/3/2012)
January 4, 2012 at 7:42 am
Thanks Gail - will do just that (read your earlier post), and yes you are right, at least a transaction log backup taken before putting into simple recovery mode, then...
January 3, 2012 at 2:32 pm
Thanks for the prompt replies - that clears things up for what options I have anyway. I think Oracles alter database noarchivelog; basically does the same thing as putting...
January 3, 2012 at 2:23 pm
Thanks all - great bunch of helpful people here - after unchecking all but db_owner it seems to be ok now. Still too used to Oracle, where everything is more...
December 20, 2011 at 11:01 am
Did that, and the roles are reflected in the database user properties - but everything is checked in the owned schema's area, and greyed out so I can't change them...
December 20, 2011 at 10:02 am
Viewing 15 posts - 16 through 30 (of 34 total)