Lorenzo Benaglia


Storie di un SQLlaro mannaro...
Archivio Posts
Anno 2010

Anno 2009

Anno 2008

Anno 2007

Anno 2006

Anno 2005
Calendario
aprile 2024
lmmgvsd
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

SQL Server 2008 Release Candidate 0

Finalmente da oggi è disponibile a tutti la RC0 di SQL Server 2008.

Su CodePlex non ho trovato una versione di AdventureWorks per questa versione, così ho provato ad installare quella per la CTP di febbraio 2008.
Prima di eseguire il RESTORE del db, occorre abilitare il FILESTREAM, ma con l'RC0 è sparita la stored procedure sp_filestream_configure, sostituita dalla classica sp_configure.

Eseguendo il comando:

EXEC sp_configure 'filestream access level'2;
RECONFIGURE;
  

ho notato che il valore della colonna run_value continuava a rimanere a 0...

Dando una occhiata ai nuovi Books Online, ho trovato l'articolo How to: Enable FILESTREAM che spiega nel dettaglio la procedura corretta.

A questo punto il RESTORE ha funzionato in modo impeccabile:

RESTORE DATABASE AdventureWorks 
FROM DISK = 'C:\Program Files\Microsoft SQL Server\100\Tools\Samples\AdventureWorks2008.bak';

Processed 22896 pages for database 'AdventureWorks', file 'AdventureWorks2008_Data' on file 1.
Processed 3 pages for database 'AdventureWorks', file 'AdventureWorks2008_Log' on file 1.
Processed 36 pages for database 'AdventureWorks', file 'FileStreamDocuments' on file 1.
Converting database 'AdventureWorks' from version 643 to the current version 654.
Database 'AdventureWorks' running the upgrade step from version 643 to version 644.
Database 'AdventureWorks' running the upgrade step from version 644 to version 645.
Database 'AdventureWorks' running the upgrade step from version 645 to version 646.
Database 'AdventureWorks' running the upgrade step from version 646 to version 647.
Database 'AdventureWorks' running the upgrade step from version 647 to version 648.
Database 'AdventureWorks' running the upgrade step from version 648 to version 649.
Database 'AdventureWorks' running the upgrade step from version 649 to version 650.
Database 'AdventureWorks' running the upgrade step from version 650 to version 651.
Database 'AdventureWorks' running the upgrade step from version 651 to version 652.
Database 'AdventureWorks' running the upgrade step from version 652 to version 653.
Database 'AdventureWorks' running the upgrade step from version 653 to version 654.
RESTORE DATABASE successfully processed 22934 pages in 13.079 seconds (13.698 MB/sec).

Categoria: SQL Server
martedì, 10 giu 2008 Ore. 23.39
Statistiche
  • Views Home Page: 933.890
  • Views Posts: 698.388
  • Views Gallerie: 12.669.344
  • n° Posts: 300
  • n° Commenti: 314
Mappa





















Copyright © 2002-2007 - Blogs 2.0
dotNetHell.it | Home Page Blogs
ASP.NET 2.0 Windows 2003