sql server 2008 r2 - How to link two databases -


i have 2 databases. have data depends on 1 table. want link 2 databases. when change specific column table of 1st database want effect column of 2nd table database. have searched lot didn't find solution.

please give me solution.

thanks in advance.

you can use sql server triggers change data in other database. should consider using stored procedures if feasible.

both solutions require permissions access other database. in opinion best way grant permissions if using triggers/stored procedures certificates (great article here).


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -