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
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Trigger examples

Author  Topic 

azoomba
Starting Member

4 Posts

Posted - 2006-12-16 : 15:00:06
I am looking for a INSERT trigger example. My requirement is as follows:

I would like the trigger to be fired when a row gets inserted into a table. I want to retrive some value from the inserted row and use this value to insert a new row in table 2.

azoomba
Starting Member

4 Posts

Posted - 2006-12-16 : 15:00:25
Thanks in advance.
Go to Top of Page

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2006-12-17 : 01:04:37
Read in BOL about CREATE TRIGGER. There are plenty of examples.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page
   

- Advertisement -