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)
 Triggers

Author  Topic 

ilimax
Posting Yak Master

164 Posts

Posted - 2006-08-22 : 07:54:04
Can I make trigger that update table in different database on different server? So, I need to make connection to another server, then updated table there in another database.

Thanks,

Ilimax

nr
SQLTeam MVY

12543 Posts

Posted - 2006-08-22 : 08:09:18
A really bad idea.
Better to put the value in a staging table and update via a job on the destination server.

You will need to create a linked server then use the fully qualifies name for the table

linkedserver.database.owner.table


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -