July 19, 2009 at 11:15 pm
hi,
where can i see the text of the Triggers?
i'm able to see using sys.triggers and syscomments.
but in Sql serve management console where can i see it like procedures and functions?
regards
viji
July 19, 2009 at 11:37 pm
Programmability -> Database Triggers.
Under Programmability, first item is Stored Procedures, second item is Functions, third item is Database Triggers.
July 19, 2009 at 11:42 pm
hi suresh,
thanx for your quick reply.
my sys.triggers shows more than 100 triggers but my database triggers shows nothing.
if i query syscomments i can get the text of the triggers also. but could not see them under database triggers...
do i have to enable any options?
regards
viji
July 20, 2009 at 12:17 am
Hi Viji,
No need to enable any option. It appears automatically just like Functions and stored procedures.
For SQL Server 2000 it will not appear.
Regards,
Suresh
July 20, 2009 at 12:55 am
i'm using sql server 2005. for that also its not appearing........
wht to do.
but i've created a new trigger that is appearing. the others which is having type as TR in objects table are not appearing.........
regards
viji
July 20, 2009 at 1:30 am
hi,
i found........
if i create a trigger on database then it comes under database triggers........
or else
it comes under that particular table itself. 😀
columns........keys......constraints..........triggers
thanx
regards
viji
July 20, 2009 at 2:57 am
Glad to know that you found it.:-)
Thanks for posting it.
I was about to say that hundres of database triggers cannot be created on single database.
July 20, 2009 at 3:33 am
obviously,
hundreds of database triggers cannot be created on single database.
but i was searhing the normal triggers in data base triggers txtPost_CommentEmoticon(':hehe:');
thnx,
regards
viji
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply