SQL Server 2000で、2つあるldfを1つにする
2009 年 5 月 17 日
SQL Server 2000で、2つあるldfを1つにする
use [database_name]
go
checkpoint
exec sp_dboption ‘table_name’, ‘trunc. log on chkpt.’, ‘TRUE’
dbcc shrinkfile( ‘table_name_log_d’ , emptyfile )
alter database [table_name] remove file ‘table_name_log_d’
go
アーキテクチャ徹底解説Microsoft SQL Server 2000 (マイクロソフト公式解説書)
posted with amazlet at 09.05.20
カレン デレーニ
日経BPソフトプレス
売り上げランキング: 328654
日経BPソフトプレス
売り上げランキング: 328654
