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
 SQL Server Development (2000)
 Trigger to Access another database as well

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2000-12-13 : 11:18:53
Dave writes "I want to create a trigger on INSERT, UPDATE and DELETE that adds, updates or deletes a matching record in another database on the same server.

The database is called DispatchSQL I want to reach, and the database containing the desired records is TESM.

So far, using DispatchSQL.dbo.Customers doesn't work to touch the other database. I noticted I can't use a 'USE' statement either.


HELP!!!

// Dave"
   

- Advertisement -