Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a local SQL server database with many tables i need to transfer data to remote SQL server database using vb.net, and task should be run every 2 hr from vb.net windows application, how it is possible. Please suggest me best way for this
Posted
Updated 25-Jul-15 19:48pm
v2

You can of course write your own program to transfer the data and execute it every 2 hours. However if possible, I would suggest using SQL Server Replication[^]. It's a ready-made 'framework' to transfer data between the databases.

If for some reason replication is not a feasible solution, have a look at Microsoft Sync Framework[^]
 
Share this answer
 
To get database names in your server write this query without quotes 'select * from sys.databases;' and to get tables of particular database write this query without quotes 'select * from dbname.sys.tables'
Search more in google you shall find many solutions there.
 
Share this answer
 

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