diff --git a/samples/databases/northwind-pubs/instnwnd.sql b/samples/databases/northwind-pubs/instnwnd.sql index 20d8271a35..166cd313ab 100644 Binary files a/samples/databases/northwind-pubs/instnwnd.sql and b/samples/databases/northwind-pubs/instnwnd.sql differ diff --git a/samples/databases/northwind-pubs/instpubs.sql b/samples/databases/northwind-pubs/instpubs.sql index d4a1e96c5c..0e500d6771 100644 --- a/samples/databases/northwind-pubs/instpubs.sql +++ b/samples/databases/northwind-pubs/instpubs.sql @@ -53,7 +53,12 @@ if db_name() <> 'pubs' GO -execute sp_dboption 'pubs' ,'trunc. log on chkpt.' ,'true' +if CAST(SERVERPROPERTY('ProductMajorVersion') AS INT)<12 +BEGIN + exec sp_dboption 'pubs','trunc. log on chkpt.','true' + exec sp_dboption 'pubs','select into/bulkcopy','true' +END +ELSE ALTER DATABASE [pubs] SET RECOVERY SIMPLE WITH NO_WAIT GO execute sp_addtype id ,'varchar(11)' ,'NOT NULL'