I’m working with SQL server 2008, and I want to create in my first database an after update trigger that changes in it’s body the data in another database.
can this be done and how?
kindly help me with the code
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Are your databases on the same server instance? If so then just qualify the reference with the database name (e.g. [Database].[schema].[Table]). This seems to work (I have a database called Staging and another called Tom):