Viewing 15 posts - 226 through 240 (of 609 total)
yes i understand there is DBCC INPUTBUFFER(spid) and fn_get_sql but both has some limitations like 256 char for imput buffer and fn_get_sql will not return if it is not exist...
September 16, 2010 at 5:00 am
Adam
I am trying the same but getting hard time to change the single quotees i have in the trigger while wrapping double EXEC
September 15, 2010 at 4:12 pm
I am still getting the erorr , may be i cant use this in a single query batch
USE DB1;ALTER TRIGGER.......
USE DB2;ALTER TRIGGER.......
USE DB3;ALTER TRIGGER.......
USE DB4;ALTER TRIGGER.......
'ALTER TRIGGER' must be the...
September 15, 2010 at 10:20 am
I dont think we can create trigger ON DATABASE for DML acitivities by using event class.
September 14, 2010 at 6:03 pm
I thought i have mentioned that before, anyways it has to deny for every one except 2 windows groups.
September 14, 2010 at 4:37 pm
is there a way i cna create a trigger in model database so that it fires when ever a table is create with a name like "secure%" and the functionality...
September 14, 2010 at 4:20 pm
I want to do that in the model database so that it would take effect into all databases created.
I can do that same DENY on model because tables are created...
September 14, 2010 at 3:58 pm
I am doing the same right now but i would like to automate the process so that every database newly created gets this effected and the imp thing is the...
September 14, 2010 at 3:17 pm
Also what would be the benefits of 64 bit over 32 bit for sql server?
September 14, 2010 at 1:13 pm
NO i havent but still the error, i thi it probably because of the " USE database"
September 12, 2010 at 4:42 pm
I get this error
'ALTER TRIGGER' must be the first statement in a query batch.
September 12, 2010 at 9:45 am
I dont think i could create the above trigger either using dynamic sql (sp_executesql) or sp_msforeachdb, any help ?
September 11, 2010 at 7:05 am
If i am creating a trigger for each database, is it possbile to create the same trigger which also includes
prohibit following permissions
DROP TABLE,ALTER TABLE,INSERT,UPDATE,DELETE.
if so how woould i do...
September 10, 2010 at 4:43 pm
Hmm thats a pain if i have to add trigger to every database there are more than 400 db's. any trick?
September 10, 2010 at 2:05 pm
Viewing 15 posts - 226 through 240 (of 609 total)