Exforsys

SQL Server 2005 Training

  1. SQL Server 2005 - Configuring Replication
  2. SQL Server 2005 Replication Enhancements
  3. SQL Server 2005 - Mirror Server
  4. SQL Server 2005 - Introduction to Data Availability
  5. SQL Server 2005 - Backing up a Database
  6. SQL Server 2005 - Using Database Snapshots
  7. SQL Server 2005 - Disaster Recovery
  8. SQL Server 2005 - Managing Certificates
  9. SQL Server 2005 - Managing Permissions
  10. Managing SQL Server 2005 Security
  11. SQL Server 2005 - Using the Database Tuning Advisor
  12. SQL Server 2005 - Tuning a Database
  13. Maintain indexes in a SQL Server 2005 database
  14. SQL Server 2005 - Defining Indexes
  15. SQL Server 2005 - Database Backup
  16. SQL Server 2005 - Populating the Database
  17. SQL Server 2005 Configuration Manager
  18. SQL Server 2005 - Using the Sqlcmd Utility
  19. Using the SQL Management Objects
  20. Using SQL Sever Management Studio - Part 2
  21. Using SQL Sever Management Studio - Part 1
  22. SQL Server 2005 - Using Event Notifications
  23. SQL Server 2005 - Using DDL Triggers
  24. SQL Server Monitoring Tools - Server Profiler
  25. SQL Server 2005 - Testing Troubleshooting
  26. SQL Server 2005 - Upgrading from earlier versions of SQL Server
  27. SQL Server 2005 Installation - Maintenance Plan Without Using Wizard
  28. SQL Server 2005 - Unattended Installations
  29. SQL Server 2005 Installation - Maintenance Plan Using Wizard
  30. Installing a Second Copy of SQL Server 2005
  31. Planning to Install SQL Server 2005
  32. SQL Server 2005 Installation
  33. SQL server 2005 Editions
  34. SQL Server 2005 Architecture Overview
  35. SQL Server 2005 - Management studio interface Summary Page
  36. SQL Server 2005 - Server Groups
  37. SQL Server 2005 - Registered Servers
  38. SQL Server 2005 Administrative Tools
  39. Developing Client applications in SQL Server 2005
  40. SQL Server Management Objects
  41. NET CLR in SQL Server 2005
  42. Native HTTP Support in SQL Server 2005
  43. XML Data Types in SQL Server 2005
  44. Using XML in SQL Server 2005
  45. Using Notification Services in SQL Server 2005
  46. SQL Server 2005 - Service Broker
  47. Data Manipulation Language (DML) in SQL Server 2005
  48. T-SQL Enhancements in SQL Server 2005
  49. Security Features in SQL Server 2005 for the Developer
  50. SQL Server Architecture and Components
  51. SQL Server 2005 Management Studio
  52. Overview of SQL Server 2005 for the Database Developer
  53. Getting started with SQL Server 2005

Ads


Home arrow Technical Training arrow SQL Server 2005 Training

SQL Server 2005 - Upgrading from earlier versions of SQL Server

Author : Exforsys Inc.     Published on: 7th Dec 2005

SQL Server 2005 - Upgrading from earlier versions of SQL Server

In this tutorial you will learn about SQL Server 2005 - Upgrading from earlier versions of SQL Server. SQL Server 2005 permits the upgrading from version 7.0, 2000 (with service pack 3) and 2003. SQL Server 6.5 will have to be upgraded to SQL Server 7.0 with service pack 7.0 and then to SQL Server 2005.

Ads

The process of upgrading to these various versions requires a lot of careful planning. Data, Data Transformation Services packages, agent jobs, replication setup, failover clustering setup, Analysis Services objects, Full text search objects, Reporting Services configuration, Notification Services configuration etc will have to be upgraded. The Upgrade Advisor helps the user analyze the system and generates a report identifying issues that needs to be addressed pre and post upgrading.

Planning for an upgrade

Before beginning an upgrade check whether the required hardware and software are available. Read the backward compatibility notes and make the necessary changes to the application and scripts. The Upgrade advisor tool will have to be run and all issues highlighted for resolution will have to be addressed. All SQL Server database files will have to be backed up. Appropriate DBCC commands on databases to be upgraded will have to be run to ensure consistent state. SQL Server System databases will have to be configured with autogrow setting to ensure that they will have adequate disk space. All startup procedures will have to be disabled; else they will block the process of upgrading. Replication log should be emptied and Replication will have to be stopped.

Once all the above has been done, SQL Server 2005 setup has to be run and the instance installed. Thereafter, move user databases to the instance by using backup and restore or detach and attach functionalities in SQL Server 2005. Then register the server, repopulate full text catalogs, update the statistics and run Surface Area Configuration tool.

Another factor that needs to be taken into account while preparing for an upgrade, are the features that have been deprecated in SQL Server 2005. The features that are going to be deprecated are as under:

1. The DUMP and LOAD statements.
2. The SETUSER statement
3. sp_addtype.
4. sp_attach, Sp_attach_single_file_db, sp_rename, sp_dboption and sp_resetstatus.
5. sp_fulltext_catalog, sp_addlogin, sp_adduser.
6. System table are being replaced with backward compatibility views.

Some of the features of earlier releases are no longer supported. The features that are not being supported are as under:

1. English Query
2. isql.exe and rbuildm.exe
3. Northwind database
4. allow updates option of sp_configure.
5. Metadata component of SQL Server 2000

A number of breaking and behavior changes to the Database engine to support the new features that have been introduced in SQL Server 2005. The trigger_schema is added as the last column in the result set returned by the sp_helptrigger system stored procedure. WITH has been made mandatory for table hints. Qualified column names and aliases in the ORDER BY clause are resolved to columns of tables listed in the FROM clause unlike in SQL Server 2000.

SQL Server 2005 Upgrade Advisor

The Upgrade Advisor tool is used to analyze the system and installed SQL Server instance and identify issues that should be addressed before or after upgrading to SQL Server 2005. The Upgrade advisor has two components—the Analysis Wizard and the Report viewer. The former analyzes the system and saves the results into an XML file. The Report viewer reads the results and displays it. It allows sort and filter operations to be performed on the results. Each item in the Report viewer has a Tell Me More About This Issue and How to Resolve it links. The Upgrade Advisor documentation also provides information on various upgrade issues and steps required to resolve them.

Ads

The upgrade Advisor does not get installed automatically when SQL Server is installed. It has to be installed separately.

The process of upgrading each of the components is beyond the scope of this tutorial and will require a separate chapter for each process. Therefore, this section has been confined to a definition of the common issues relating to upgrading and touched upon the new features of SQL Server 2005 and the deprecated features have been listed to make the user aware of them. It has also briefly examined the features of the Upgrade Advisor.



 
This tutorial is part of a SQL Server 2005 Training tutorial series. Read it from the beginning and learn yourself.

SQL Server 2005 Training

  1. SQL Server 2005 - Configuring Replication
  2. SQL Server 2005 Replication Enhancements
  3. SQL Server 2005 - Mirror Server
  4. SQL Server 2005 - Introduction to Data Availability
  5. SQL Server 2005 - Backing up a Database
  6. SQL Server 2005 - Using Database Snapshots
  7. SQL Server 2005 - Disaster Recovery
  8. SQL Server 2005 - Managing Certificates
  9. SQL Server 2005 - Managing Permissions
  10. Managing SQL Server 2005 Security
  11. SQL Server 2005 - Using the Database Tuning Advisor
  12. SQL Server 2005 - Tuning a Database
  13. Maintain indexes in a SQL Server 2005 database
  14. SQL Server 2005 - Defining Indexes
  15. SQL Server 2005 - Database Backup
  16. SQL Server 2005 - Populating the Database
  17. SQL Server 2005 Configuration Manager
  18. SQL Server 2005 - Using the Sqlcmd Utility
  19. Using the SQL Management Objects
  20. Using SQL Sever Management Studio - Part 2
  21. Using SQL Sever Management Studio - Part 1
  22. SQL Server 2005 - Using Event Notifications
  23. SQL Server 2005 - Using DDL Triggers
  24. SQL Server Monitoring Tools - Server Profiler
  25. SQL Server 2005 - Testing Troubleshooting
  26. SQL Server 2005 - Upgrading from earlier versions of SQL Server
  27. SQL Server 2005 Installation - Maintenance Plan Without Using Wizard
  28. SQL Server 2005 - Unattended Installations
  29. SQL Server 2005 Installation - Maintenance Plan Using Wizard
  30. Installing a Second Copy of SQL Server 2005
  31. Planning to Install SQL Server 2005
  32. SQL Server 2005 Installation
  33. SQL server 2005 Editions
  34. SQL Server 2005 Architecture Overview
  35. SQL Server 2005 - Management studio interface Summary Page
  36. SQL Server 2005 - Server Groups
  37. SQL Server 2005 - Registered Servers
  38. SQL Server 2005 Administrative Tools
  39. Developing Client applications in SQL Server 2005
  40. SQL Server Management Objects
  41. NET CLR in SQL Server 2005
  42. Native HTTP Support in SQL Server 2005
  43. XML Data Types in SQL Server 2005
  44. Using XML in SQL Server 2005
  45. Using Notification Services in SQL Server 2005
  46. SQL Server 2005 - Service Broker
  47. Data Manipulation Language (DML) in SQL Server 2005
  48. T-SQL Enhancements in SQL Server 2005
  49. Security Features in SQL Server 2005 for the Developer
  50. SQL Server Architecture and Components
  51. SQL Server 2005 Management Studio
  52. Overview of SQL Server 2005 for the Database Developer
  53. Getting started with SQL Server 2005
 

Comments