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 2008 Forums
 Transact-SQL (2008)
 Creating triggers

Author  Topic 

SkyBluePhil
Starting Member

1 Post

Posted - 2012-11-21 : 04:24:35
I have been given the task of creating a trigger to automatically create a file in Database B when the same file is created in Database A. The trigger is file specific, i.e. it must only work for certain files whose names I know.
Can someone show me the code to achieve this ?

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2012-11-21 : 04:40:34
Can you please clarify what you mean?
In SQL Server we have databases, in databases we have tables, in tables we have rows of data and rows have columns...


Too old to Rock'n'Roll too young to die.
Go to Top of Page
   

- Advertisement -