2013-10-30 57 views

回答

0

已解決!

  1. 我創建了一個名爲羅斯文(CREATE DATABASE羅斯文)

  2. 拉開northwind.sql記事本中的數據庫

  3. 複製它獻給SQL Server Management Studio中

  4. 執行查詢(即3以上)

  5. 就是這樣......

我希望其他用戶會覺得這個條目有用。我已經搜索/花費了6個多小時試圖弄清楚這一點。

3

根據Microsoft的回答here它需要使用alter database來代替。

打開腳本並在2行之後發表評論。

exec sp_dboption 'Northwind','trunc. log on chkpt.','true' 
exec sp_dboption 'Northwind','select into/bulkcopy','true' 

,然後添加低於

alter database Northwind set recovery simple 

以下行,使其看起來就像這樣:

-- exec sp_dboption 'Northwind','trunc. log on chkpt.','true' 
-- exec sp_dboption 'Northwind','select into/bulkcopy','true' 
alter database Northwind set recovery simple 
相關問題