How to update a table in DB1 after another table in DB2 update in sql server? -
i have 2 database , want update table2 in database2 when table1 in database1 updating.
want in sql server not in code in visual studio . how can that?
well, straightforward solution create trigger update. here trigger update table in db
if don't need on-the-fly synchronization create scheduled sp running in night, example, trigger can slow down update queries.
Comments
Post a Comment