Posted - 07/02/2013 : 07:51:59
I have common product table in db1 and db2. now i want to make it one table because it have one inventory (stock of products) what is the best solution to share product table among two different database.
I have few thoughts
1) writing trigger on update/delete/insert one table and update another same time.
2) creating view on product table and used in second db (i dont know how)
3) replication (i dont know how)
can you guide me on this please. any of the solution or any alternative or best way of doing this ?