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
 General SQL Server Forums
 New to SQL Server Programming
 creating a trigger

Author  Topic 

mary_itohan
Posting Yak Master

191 Posts

Posted - 2008-07-26 : 05:16:26
how do i create a trigger in ms sql 2005

Am using MS SQL 2005 express edition.

I right clicked the tables and dont see it anywhere

thanks
M




Yes O !

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-07-26 : 05:25:36
quote:
Originally posted by mary_itohan

how do i create a trigger in ms sql 2005

Am using MS SQL 2005 express edition.

I right clicked the tables and dont see it anywhere

thanks
M




Yes O !


Use Query Analyser and create it there

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-07-26 : 11:27:44
quote:
Originally posted by mary_itohan

how do i create a trigger in ms sql 2005

Am using MS SQL 2005 express edition.

I right clicked the tables and dont see it anywhere

thanks
M




Yes O !


you can create it using CREATE TRIGGER statement. look for syntax in books online and you can also use the help of template explorer.
Go to Top of Page
   

- Advertisement -