Viewing 15 posts - 42,781 through 42,795 (of 49,571 total)
Mh (11/30/2008)
In addition to running the below queries:Do we also need to configure the /3GB switch in the boot.ini file?
When do we enable AWE? before running these queries?
No idea....
November 30, 2008 at 11:23 pm
In general, triggers should not start jobs, send email, launch applications or anything of the sort. A trigger should be doing small data verifications or changes, nothing more.
November 30, 2008 at 2:26 pm
Lynn Pettis (11/30/2008)
Yea, that works, that's my story, and I'm sticking to it.
😀
November 30, 2008 at 12:10 pm
As I mentioned over at SQLTeam, you may want to give CSS a shout. If no one's answering it's most likely because they don't know.
November 30, 2008 at 12:09 pm
Ok, so you need the users, with their database and server roles and with the permissions that they have directly on database objects.
One database or all?
November 30, 2008 at 11:48 am
So you want to display users who are members of database and/or server roles? With the roles they are members of?
You're not interested in permissions that users may have directly...
November 30, 2008 at 11:22 am
Lynn Pettis (11/30/2008)
declare @inscnt int; -- INSERTED row count
select @inscnt = count(*) from INSERTED;
if @inscnt > 0
begin
trigger code -- trigger code goes here
end
...
Or, preferably, since the...
November 30, 2008 at 11:19 am
Jonathan Kehayias (11/30/2008)
I was completely floored when I got that kind of response the first time.
I think I've seen just about everything. From that to the "Who are you to...
November 30, 2008 at 11:00 am
Use either DBCC INPUTBUFFER or fn_get_sql in conjunction with sysprocesses. There's no simple, easy way of getting the commands on SQL 2000 though.
November 30, 2008 at 10:42 am
Jonathan Kehayias (11/30/2008)
The approved assembly list is in the Books Online at:
Thanks. I'm more asking out of curiosity. I don't tend to write CLR.
November 30, 2008 at 9:47 am
You can also read this post. I don't know if there's more info than in BoL though.
http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/
The links after each section go to the blog of one of the SQL...
November 30, 2008 at 9:36 am
You can query the sysprocesses system table.
As with many of the system tables, it's well documented in Books Online, including what each of the columns mean.
November 30, 2008 at 9:33 am
Jeff Moden (11/30/2008)
November 30, 2008 at 9:32 am
GilaMonster (11/30/2008)
Change trackingChange Data Capture
SQL Audit
Just to be clear, those are three new features in SQL 2008 that can remove the need for triggers for auditing, depending what you want...
November 30, 2008 at 9:30 am
Per Books Online:
sp_trace_setstatus [ @traceid = ] trace_id , [ @status = ] status
Arguments
[ @traceid = ] trace_id
Is the ID of the trace to be modified. trace_id is int,...
November 30, 2008 at 9:27 am
Viewing 15 posts - 42,781 through 42,795 (of 49,571 total)