Click here to Skip to main content
15,895,370 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to create one trigger for two different databases.
The database name is different but their table names and columns name are the same.
Is it possible to create a trigger? If yes, then any idea or hint on how to do this?
Posted
Updated 27-Jan-11 18:50pm
v3

1 solution

You can create a trigger only in the current database but a trigger can reference objects outside of the current database. Have a look at the following links for more details:
Similar discussion 1[^]
 
Share this answer
 
Comments
Nilesh More 28-Jan-11 1:28am    
thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900