Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 24th, 2005, 06:46 AM
Authorized User
 
Join Date: Dec 2004
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

 
Old January 24th, 2005, 07:06 AM
Friend of Wrox
 
Join Date: Oct 2003
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.
 
Old January 24th, 2005, 07:30 AM
Friend of Wrox
 
Join Date: Nov 2003
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
 
Old January 24th, 2005, 02:13 PM
Friend of Wrox
 
Join Date: Dec 2004
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





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 05: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 01:40 AM
SQL Server db Installation Problem edferrero BOOK: ASP.NET Website Programming Problem-Design-Solution 0 September 23rd, 2003 07:03 PM
Adding a new record to a sql server DB morpheus VB How-To 6 August 6th, 2003 06:15 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.