Link to home
Start Free TrialLog in
Avatar of varsha2
varsha2

asked on

copying bulk data from one sql server to other

I have to copy about a million of records from one sql server (sql 2005) to another every day. I tried using the ssis package, but ended up locking the source table.
What would be the bestl way of doing this with out any affect on the performance of the source database.
Could I use the backup created on the source database to copy data to the dest. I wnat to copy only one day's worth of data
Avatar of Som Tripathi
Som Tripathi
Flag of India image

You can try to use a query instead of table name. Add table hint nolock along with the query.
For example
Select * from table (nolock)
Avatar of varsha2
varsha2

ASKER

The query had (nolock), but since I am querying over a million of records sql server escallated it to a table lock
ASKER CERTIFIED SOLUTION
Avatar of Leo Torres
Leo Torres
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I've requested that this question be deleted for the following reason:

                           
No comment has been added to this question in more than 21 days, so it is now classified as abandoned and is now flagged for deletion.


If there is a valid solution, please OBJECT and indicate the comments that are, or would otherwise lead to, a solution.


Use the specific format https:#axxxxxxxx for comment ID(s).


Also, please don't object simply because the author did not respond to your comment. While we understand this is frustrating, unfortunately we cannot force the author to return to the question. Unless you feel you have presented a valid, verifiable solution we'll simply delete the question.


Experts-Exchange Auto Deleter
Did you try my recommendation. It has always worked for me. Let me know if I can be of any help.
The method above will always work done correctly. I can provide further assistance if needed.