Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Old Forums
 CLOSED - General SQL Server
 using sql server analyzer to view triggers

Author  Topic 

cognos79
Posting Yak Master

241 Posts

Posted - 2006-09-21 : 10:44:31
how can i use query analyzer to view triggers on a table. I want to view the complete trigger something like if i use sp_helptext "storedproc Name" i get the stored procedure. is there a command to view the triggers like this.

Thanks...

X002548
Not Just a Number

15586 Posts

Posted - 2006-09-21 : 10:50:21
Just use Enterprise Manager and script out the table

However it's probably in sysobjects



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam
Go to Top of Page

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2006-09-21 : 10:51:11
[code]sp_helptext trigger_name[/code]


KH

Go to Top of Page

cognos79
Posting Yak Master

241 Posts

Posted - 2006-09-21 : 10:55:42
Thanks khtan...it worked.
Go to Top of Page
   

- Advertisement -