Hi there,
There are 2 Databases is made in Sql Server 7 residing on same server. Both r mirror image of each other. having common tables.
One of the Table is AgentMaster residing on both the Databases.
If a row in DB1's AgentMaster is updated, suppose the address of Agent is changed, the changes should reflect in DB2's AgentMaster too. Even If a record is Inserted in DB1, DB2 should also have that inserted record. What should I use for this operation Oracle has Triggers for this operation but what should I use in Sql Server? Can anyone provide me with a example for the same??
DB1-AgentMaster
ID, Name, Addess, TDSRate, Comm
DB2-AgentMaster
ID, Name, Addess, TDSRate, Comm
Help will be appriciated ______________________________
- Regards Rohan (India,Mumbai)
There are 2 Databases is made in Sql Server 7 residing on same server. Both r mirror image of each other. having common tables.
One of the Table is AgentMaster residing on both the Databases.
If a row in DB1's AgentMaster is updated, suppose the address of Agent is changed, the changes should reflect in DB2's AgentMaster too. Even If a record is Inserted in DB1, DB2 should also have that inserted record. What should I use for this operation Oracle has Triggers for this operation but what should I use in Sql Server? Can anyone provide me with a example for the same??
DB1-AgentMaster
ID, Name, Addess, TDSRate, Comm
DB2-AgentMaster
ID, Name, Addess, TDSRate, Comm
Help will be appriciated ______________________________
- Regards Rohan (India,Mumbai)