Database Update Trigger on Linked server
hi,
have database server (sql server 2000) in scottland , database server( sql server 2005 ) here in usa, have access both servers.
my question is, want update database table here in sql server 2005 whenevr insert record in sql server 2000.
have tried trigger linked server takes long update , our application timedout.
have tried openquery() in trigger not make significant diffrence.
there 10 columns needs updated in target database.
thanks,
masroor
mh
have database server (sql server 2000) in scottland , database server( sql server 2005 ) here in usa, have access both servers.
my question is, want update database table here in sql server 2005 whenevr insert record in sql server 2000.
have tried trigger linked server takes long update , our application timedout.
have tried openquery() in trigger not make significant diffrence.
there 10 columns needs updated in target database.
thanks,
masroor
mh
you may consider replication. trigger not ideal because if connectivity not available rollback in source.
madhu
mcitp, mcts, mcdba,mcp-- blog : http://experiencing-sql-server-2008.blogspot.com/
madhu
mcitp, mcts, mcdba,mcp-- blog : http://experiencing-sql-server-2008.blogspot.com/
SQL Server > SQL Server Database Engine
Comments
Post a Comment