Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL-Server-2008
I tried linked server to transfer data from local db to production db
 
It runs ok but has some issue
1: Performance : Linked server query takes too much time to perform.
 
for ex :select * from server1.udupikrishna.dbo.emp1
 
above query takes too much time to get dataset.
 
IS their any other service like linked server to transfer data from Local DB to Production DB
 
i am not doing transfer only once .. And also want to implement it in ASP.net project..So searching for different service which can easly done through asp.net
Posted 27-Mar-13 10:55am
Edited 27-Mar-13 11:10am
v3

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

1) Your performance depends on many things.
2) For transferring data between two remote databases you have some options, like this using the SQL Management Studio data import and export features: http://msdn.microsoft.com/en-us/library/ms140052.aspx[^]
 
[Update]
If you check the link, you will notice, that you can configure the same data transfer as SSIS package task. You can read in this article[^] how to run such a package from asp.net.
  Permalink  
v2
Comments
mrinal_kumar_jha at 27-Mar-13 16:09pm
   
But i am not doing transfer only once .. And also want to implement it in ASP.net project..So searching for different service which can easly done through asp.net
Zoltán Zörgő at 27-Mar-13 16:10pm
   
I doubt you have read the link. You can make SSIS package too, not only interactive transfer.
mrinal_kumar_jha at 27-Mar-13 16:38pm
   
I have configureg my application in local intranet. so there i need some client requirement to move some secure data from local db to production daily..
Zoltán Zörgő at 27-Mar-13 16:39pm
   
Ok, and that excludes SSIS?
mrinal_kumar_jha at 27-Mar-13 16:42pm
   
Using SSIS i am not able to fullfill my requirement as it moves all data . As i have to upload data from local and after sucessiful uploading i want to delete that information from local.
 
Is there any Stored procedure or anything else to achieve my goal please help ..
Zoltán Zörgő at 27-Mar-13 16:49pm
   
Well, be a little bit more ingenious, and make a prefilter on source side: copy to a local (temporary) table the data you want to transfer remotely. It will be fast, and you can overcome this problem. But this problem does not exist at all, since you can use a query and you don't nee to transfer a whole table at all.
But if you ask of stored procedure in this topic, than you have other problems...
You have an other option, which you will find even less interesting (even being a good one in several situations): export to a common format, copy over network and import on the other side.
mrinal_kumar_jha at 27-Mar-13 16:59pm
   
thanks Zoltán Zörgő for your support ..
Maciej Los at 27-Mar-13 17:03pm
   
Nice, +5!
Zoltán Zörgő at 27-Mar-13 17:06pm
   
Thank you.

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

  Print Answers RSS
0 OriginalGriff 480
1 Maciej Los 290
2 Richard MacCutchan 225
3 BillWoodruff 185
4 Suraj Sahoo | Coding Passion 155
0 OriginalGriff 8,764
1 Sergey Alexandrovich Kryukov 7,437
2 DamithSL 5,639
3 Maciej Los 5,279
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web04 | 2.8.1411028.1 | Last Updated 27 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100