If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > movig data between server

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-01-09, 13:21
vld vld is offline
Registered User
 
Join Date: Jan 2002
Posts: 77
movig data between server

We have a situation where we have to transfer all tables from MS SQL database to another nightly. But we want to keep
the logins as it is for each server/database. The database is a bout 60 GB. What is the fastest and the most efficient way
to accompolish this task. We plan to recreate the indexes nightly as well.
Reply With Quote
  #2 (permalink)  
Old 07-01-09, 14:09
PMASchmed PMASchmed is offline
Registered User
 
Join Date: Jun 2004
Location: Long Island
Posts: 696
You can truncate, bcp out/in (if only data)

or

or you can backup/load, but just drop the users then add your desired users after the db is loaded. You can "ALTER index all rebuild" to rebuild the idxs.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On