Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 24th, 2005, 06:46 AM
Authorized User
 
Join Date: Dec 2004
Location: , , .
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default Move SQL DB from one sql to another sql server

Hi
  I want to transfer The Sql database from one sql server to another sql server along with data

Please Help

Reply With Quote
  #2 (permalink)  
Old January 24th, 2005, 07:06 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Cochin, Kerala, India.
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

Is there any version difference between these servers ?

Are both servers accessible to you ? (This means, you should have access to the enterprise manager of both servers)

If answer to forst one is no and answer to second one is yes, then

1) you can take backup of the full database from one server through Enterprise mgr.

2) copy the .bak file to second server

3) restore through enterprise mgr of second server.
Reply With Quote
  #3 (permalink)  
Old January 24th, 2005, 07:30 AM
Friend of Wrox
 
Join Date: Nov 2003
Location: Lehigh Acres, FL, USA.
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

In addition to madhukp suggestions, you should also moved your user accounts and security, dts. etc. since you will have a different master database on your new server the accounts will not be mapped to the correct logins (sids)

See SQL Server Books Online to get more information about the sp_change_users_login stored procedure.

http://support.microsoft.com/kb/246133

Jaime E. Maccou
Reply With Quote
  #4 (permalink)  
Old January 24th, 2005, 02:13 PM
Friend of Wrox
 
Join Date: Dec 2004
Location: Chennai, Tamil nadu, India.
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel
Default

Check out my article on detaching/attaching a database :: http://www.sswug.org/see/17226

If at all you don't have access to that article, google for sp_attach_db and sp_detach_db.

For your reference: http://databasejournal.com/features/...le.php/2224361

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com
Reply With Quote
Reply


Thread Tools
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 Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't access db in sql server 2005 brillox BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 May 3rd, 2007 06:15 PM
access db to sql server db mikersantiago Classic ASP Basics 4 November 16th, 2004 03:33 AM
how i can connect to remote sql server db yoord ADO.NET 16 June 16th, 2004 02:40 AM
SQL Server db Installation Problem edferrero BOOK: ASP.NET Website Programming Problem-Design-Solution 0 September 23rd, 2003 08:03 PM
Adding a new record to a sql server DB morpheus VB How-To 6 August 6th, 2003 07:15 PM



All times are GMT -4. The time now is 09:13 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.