Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server file version number: where can I find a reference?

Tags:

sql-server

Summary: Where can I find a reference to SQL Server file version numbers?

Background: I'm moving a corporate website from a Win2003 Server with an install of SqlServer 2000 to a WinServer 2008 box with SqlServer 2008. I did the standard T-SQL "CREATE DATABASE" followed by "RESTORE DATABASE" commands and my database file imported, but I got a lot of info in the process I don't understand:

Processed 141992 pages for database 'WebsiteMain', file 'WebsiteMain' on file 1.
Processed 2 pages for database 'WebsiteMain', file 'WebsiteMain_log' on file 1.
Converting database 'WebsiteMain' from version 539 to the current version 655.
Database 'WebsiteMain' running the upgrade step from version 539 to version 551.
Database 'WebsiteMain' running the upgrade step from version 551 to version 552.
Database 'WebsiteMain' running the upgrade step from version 552 to version 611.
Database 'WebsiteMain' running the upgrade step from version 611 to version 621.
Database 'WebsiteMain' running the upgrade step from version 621 to version 622.
Database 'WebsiteMain' running the upgrade step from version 622 to version 625.
Database 'WebsiteMain' running the upgrade step from version 625 to version 626.
Database 'WebsiteMain' running the upgrade step from version 626 to version 627.
Database 'WebsiteMain' running the upgrade step from version 627 to version 628.
Database 'WebsiteMain' running the upgrade step from version 628 to version 629.
Database 'WebsiteMain' running the upgrade step from version 629 to version 630.
Database 'WebsiteMain' running the upgrade step from version 630 to version 631.
Database 'WebsiteMain' running the upgrade step from version 631 to version 632.
Database 'WebsiteMain' running the upgrade step from version 632 to version 633.
Database 'WebsiteMain' running the upgrade step from version 633 to version 634.
Database 'WebsiteMain' running the upgrade step from version 634 to version 635.
Database 'WebsiteMain' running the upgrade step from version 635 to version 636.
Database 'WebsiteMain' running the upgrade step from version 636 to version 637.
Database 'WebsiteMain' running the upgrade step from version 637 to version 638.
Database 'WebsiteMain' running the upgrade step from version 638 to version 639.
Database 'WebsiteMain' running the upgrade step from version 639 to version 640.
Database 'WebsiteMain' running the upgrade step from version 640 to version 641.
Database 'WebsiteMain' running the upgrade step from version 641 to version 642.
Database 'WebsiteMain' running the upgrade step from version 642 to version 643.
Database 'WebsiteMain' running the upgrade step from version 643 to version 644.
Database 'WebsiteMain' running the upgrade step from version 644 to version 645.
Database 'WebsiteMain' running the upgrade step from version 645 to version 646.
Database 'WebsiteMain' running the upgrade step from version 646 to version 647.
Database 'WebsiteMain' running the upgrade step from version 647 to version 648.
Database 'WebsiteMain' running the upgrade step from version 648 to version 649.
Database 'WebsiteMain' running the upgrade step from version 649 to version 650.
Database 'WebsiteMain' running the upgrade step from version 650 to version 651.
Database 'WebsiteMain' running the upgrade step from version 651 to version 652.
Database 'WebsiteMain' running the upgrade step from version 652 to version 653.
Database 'WebsiteMain' running the upgrade step from version 653 to version 654.
Database 'WebsiteMain' running the upgrade step from version 654 to version 655.
RESTORE DATABASE successfully processed 141994 pages in 141.262 seconds (7.852 MB/sec).

I can only presume the version numbers refer to something of significance inside of SqlServer, but I'm having trouble believing that there have been that many releases/patches/upgrades to SqlServer since 2000. Moreover, I don't recall ever seeing SQL Server version numbers expressed in three digits in the ranges indicated.

like image 359
Mike C. Avatar asked Jul 09 '09 14:07

Mike C.


People also ask

How do I find references in SQL table?

Using SQL Server Management StudioIn Object Explorer, expand Databases, expand a database, and then expand Tables. Right-click a table, and then click View Dependencies.

How do I find SP references in SQL Server?

Using SQL Server Management StudioExpand Databases, expand the database in which the procedure belongs, and then expand Programmability. Expand Stored Procedures, right-click the procedure and then click View Dependencies. View the list of objects that depend on the procedure.

Where can I find SQL data source?

In SQL Server Data Tools, open the project or connect to the database that contains the data source view in which you want to browse data. In Solution Explorer, expand the Data Source Views folder, and then double-click the data source view.


2 Answers

Jonathan Kehayias in his blog quotes the following version numbers:

SQL Server 7.0 databases have version number 515 SQL Server 2000 databases have version number 539 SQL Server 2005 databases have version number 611/612 SQL Server 2008 databases have version number 655

Jonathan's blog: https://www.sqlskills.com/blogs/paul/search-engine-qa-13-difference-between-database-version-and-database-compatibility-level/

like image 83
Peter Schofield Avatar answered Nov 15 '22 07:11

Peter Schofield


According to Paul Randal , who should know, this is the physical version number of the database. See the first question in this TechNet magazine link

Kev

Edit:

you can get similar info by running

DBCC TRACEON (3604); 
GO
DBCC DBINFO('databasename')
GO

I'm still looking for a definitive list though........

like image 30
Kev Riley Avatar answered Nov 15 '22 08:11

Kev Riley