pavithra123
IS-IT--Management
Hi All,
I am using SQL Server version 7.
I am trying to shrink the DB and was OK with it but I was not able to shrink the transaction log . After reading previous threads about it I tried to use dbcc shrinkfile.
This is what i am doing .
use <DB>
select * from sysfiles.
Get the fileid from this and use it in
dbcc shrinkfile (<fileid>,128,truncateonly )
I did not get any errors but only a message, But when i see the size of this from the enterprise manager the size is not released to the OS.
truncateonly option says that the space will be release why is not doing so or I am doing something wrong.
Please help me with this.
Best regards
Prem.
I am using SQL Server version 7.
I am trying to shrink the DB and was OK with it but I was not able to shrink the transaction log . After reading previous threads about it I tried to use dbcc shrinkfile.
This is what i am doing .
use <DB>
select * from sysfiles.
Get the fileid from this and use it in
dbcc shrinkfile (<fileid>,128,truncateonly )
I did not get any errors but only a message, But when i see the size of this from the enterprise manager the size is not released to the OS.
truncateonly option says that the space will be release why is not doing so or I am doing something wrong.
Please help me with this.
Best regards
Prem.