Hello all,
We are busy with a trigger in sql server 2000. The results of a select we want to insert into a table in an other database. Can someone give us script how to do this?
In a trigger is it not allowed to use the "Use" command!!
Nice regards,
Michelle.
Example:
use xx
declare @information varchar(100)
set @information = 'ok'
insert into [other_database].tbl_1 (information) values (@information)
We are busy with a trigger in sql server 2000. The results of a select we want to insert into a table in an other database. Can someone give us script how to do this?
In a trigger is it not allowed to use the "Use" command!!
Nice regards,
Michelle.
Example:
use xx
declare @information varchar(100)
set @information = 'ok'
insert into [other_database].tbl_1 (information) values (@information)