Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi
I have database on my local sql and in one table around 80 rows are there.
I want to move table with all its row in my online server which is located on bigrock.

Is it possible??
or I have to insert data using insert Query for 80 times
 How can I achieve it
Posted
Updated 2-Mar-13 2:18am
v2

You can use following method's
1. bulkcopy
SQL Bulk Copy with C#.Net[^]
Transferring Data Using SqlBulkCopy[^]

2. http://msdn.microsoft.com/en-us/library/ms141209.aspx[^]

3. you need to set up as Linked both Servers in SQL Server then
SQL
Insert Into Server1.Database1.dbo.Table1 (Col1, Col2)
Select Col1, Col2 From Server2.Database2.dbo.Table2


following is the link to create link server
http://msdn.microsoft.com/en-us/library/ms190479.aspx[^]


4. Transfer data or script between two SQL Server databases[^]
 
Share this answer
 
 
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