Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one Ms sql 2005 Database on my local machine and another MS sql 2012 database on Web Hosted Server, now i want to move only updated data(Records in table) from local Database to hosted server in Asp.net, can any tell me How can i do it?
Posted
Updated 27-Oct-14 2:42am
v2

In SQL Server you have triggers available. You can set triggers to 'fire' on change of a record and then to pretty much everything you can on SQL Server. You can easily use triggers to 'do something' with changed records in a table.

Good luck!
 
Share this answer
 
Comments
Maciej Los 27-Oct-14 5:06am    
Please, read OP question very carefully. There are 2 sql servers in different locations. In my opinion OP need to create linked server to be able to update data.
If i understand you well, you need to create linked server[^] to be able to move/copy data betweem servers.
 
Share this answer
 
Comments
dhiraj mane 29-Oct-14 2:56am    
Do you have any Link of code example? pls....
Maciej Los 29-Oct-14 5:20am    
Follow the link...
dhiraj mane 1-Nov-14 1:52am    
Thank's Maciej Los i solve it by Link Server.
Maciej Los 1-Nov-14 11:59am    
You're very welcome ;)
Can you accept my answer as a solution?
Finally I solve that problem by Link Server[^]
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900