Presentation is loading. Please wait.

Presentation is loading. Please wait.

Module 5: Upgrading to SQL Server 7.0. Overview Planning an Upgrade Preparing to Upgrade Verifying the Upgrade Setting a Compatibility Level.

Similar presentations


Presentation on theme: "Module 5: Upgrading to SQL Server 7.0. Overview Planning an Upgrade Preparing to Upgrade Verifying the Upgrade Setting a Compatibility Level."— Presentation transcript:

1 Module 5: Upgrading to SQL Server 7.0

2 Overview Planning an Upgrade Preparing to Upgrade Verifying the Upgrade Setting a Compatibility Level

3  Planning an Upgrade Upgrade Requirements Performing the Upgrade Selecting Upgrade Options Identifying Potential Upgrade Issues

4 Upgrade RequirementsComponentComponentRequirementsRequirements Operating system Windows NT Server Enterprise Edition 4.0 with SP4 or later Windows NT Server 4.0 with SP4 or later Windows NT Server Enterprise Edition 4.0 with SP4 or later Windows NT Server 4.0 with SP4 or later Windows NT Versions of SQL Server SQL Server 6.0 with SP3 or later SQL Server 6.5 with SP3 or later Available disk space About 1.5 times the size of the existing SQL Server 6. x databases Network protocols Named Pipes Pipe\Sql\Query (default named pipe) Named Pipes Pipe\Sql\Query (default named pipe)

5 Performing the Upgrade The SQL Server Upgrade Wizard Speeds database configuration and data transfer Retains two separate and independent versions of SQL Server after upgrading Switching Between Versions of SQL Server Upgrade Scenarios Single computer (named pipes or tape) Computer-to-computer

6 Selecting Upgrade Options System Data User Databases Database Configuration File characteristics Scripting code page ANSI NULL Quoted identifiers

7 Identifying Potential Upgrade Issues Object Owners Without Login Accounts Objects with Inaccurate or Missing Entry in syscomments Server Name Is NULL Stored Procedures That Modify System Tables Tables with NULL as a Column Name No CREATE Permissions for the Object Owner Custom Sort Orders Incorrect Upgrade Sequence for Replication Servers

8 Preparing to Upgrade Run DBCC and Back Up All Databases Set the tempdb Database to at Least 10 MB Update the master Database if You Transfer SQL Server 6. x Databases to a New Computer Disable Any Startup Stored Procedures Stop Replication and Empty the Replication Log Shut Down All SQL Server Applications and Services

9 Verifying the Upgrade Viewing the Log Files Files with.ok or.out extension indicate instances when SQL Server successfully created objects Files with.err extension indicate instances when SQL Server did not create objects Removing SQL Server Verify the success of the upgrade before you remove SQL Server 6. x Optionally, remove SQL Server 6. x to save disk space when you upgrade

10 Setting a Compatibility Level Initial Compatibility Level Settings SQL Server now supports version compatibility on the database level The SQL Server Upgrade wizard sets the initial compatibility level for each database Setting Another Compatibility Level EXEC sp_dbcmptlevel ' Northwind ' 70 BACKUP DATABASE Northwind TO DISK = ' C:\mybackup.bac '

11 Lab 5.1: Upgrading a SQL Server 6.5 Database

12 Review Planning an Upgrade Preparing to Upgrade Verifying the Upgrade Setting a Compatibility Level


Download ppt "Module 5: Upgrading to SQL Server 7.0. Overview Planning an Upgrade Preparing to Upgrade Verifying the Upgrade Setting a Compatibility Level."

Similar presentations


Ads by Google