MS SQL Server
  Home arrow MS SQL Server arrow Page 4 - Moving Data from SQL Server 2000 to SQL Se...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Moblin 
JMSL Numerical Library 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MS SQL SERVER

Moving Data from SQL Server 2000 to SQL Server 2005
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 60
    2006-03-08

    Table of Contents:
  • Moving Data from SQL Server 2000 to SQL Server 2005
  • Taking data from SQL 2000 Server
  • Parking Data in SQL 2005 Server
  • Parking Data in SQL 2005 Server, continued

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Moving Data from SQL Server 2000 to SQL Server 2005 - Parking Data in SQL 2005 Server, continued


    (Page 4 of 4 )

    The program goes through its motions and presto! The Northwind database is attached to the SQL 2005 Server. You will see the Northwind database objects are present by expanding the database node.

    Now if you open Windows Explorer you will be able to locate these files as shown. They will be found in the MSSQL.1 sub-folder.

    You need both the mdf and ldf files. If you fail to copy the .ldf file to the correct folder, or if it is missing you get the following screen.

    When you click OK to this screen, you will get the following message to let you know there was a problem.

    When you click OK you will be returned to the previous screen, and now a message is available as a hyperlink in the Messages column in the table under Databases to attach:. Attach in the message column. Clicking this link opens the MS SQL Server Management Studio message that gives more details about the failed attempt as shown.

    Summary

    It is very easy to attach/detach SQL Server 2000 databases to the SQL 2005 Server. It was noticed that the file sizes increased when attached to the SQL 2005 Server and provision must be made if very large databases are moved. The northwnd.mdf changed from 3.0 MB to 4.0 MB and the northwnd.ldf changed from 1.0 MB to 4.6 MB. Also, remember to take heed of Microsoft's recommendations as to the new stored procedures while attaching to SQL 2005.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · If you started with SQL Server 6.5 like I did, you will find the SQL 2005 Server...
       · You may also need to adjust the compatibility setting (properties>Options) to SQL2k5...
       · Thank you for the kind comment. Data which has is moved to SQL 2005 has most of the...
       · I'm a noob to sql 2005 and this was just what i needed to know and it worked...
       · hi JayaramI have an expired SQL Server 2000 (SP4) Installation, with a a couple...
       · Question: How can I upgrade from the expired evaluation version of SQL Server 2000...
       · Ben:After you install the Express edition follow the same procedure as in thsi...
       · How i will migrate the registered users from SQL2000 to another server with SQL2005...
       · Hi Jay,Thanks for your tutorial on the migration process. It was indeed...
       · You can use the stored procedure sp_help_revlogin which does an admiral job at...
       · Hi, in your comment you say that you start with SQL 6.5 ...Ok, I'm new in SQL...
       · Can I have the same tutorial
       · Is there any reason you could not migrate a database from 2000 EE to 2005 SE? And...
       · Hi Jay,I have a SQL 2000 server and want to move to SQL 2005. But the condition is...
     

    MS SQL SERVER ARTICLES

    - Completing the Introduction to Transact-SQL
    - A Brief Introduction to Transact-SQL
    - Lookups and Blocking Bad Data
    - Field Validation Rules for Blocking Bad Data
    - Using Masks to Block Bad Data
    - Blocking Bad Data
    - Using @@ROWCOUNT and TABLE Variables for Dat...
    - How to Use Variables, IF and CASE in Databas...
    - Creating Important Aspects of Notification S...
    - Working wth Variables in Database Interactio...
    - Delving Deeper into Notification Services
    - Notification Services
    - Building a Multi-table Report with SQL 2005 ...
    - A Secure Way of Building Connection Strings
    - Transferring a Database Using the SSIS Desig...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway