Unix Technical Forum

DB shrink problem

This is a discussion on DB shrink problem within the SQL Server forums, part of the Microsoft SQL Server category; --> Hello, I try to shrink DB, in "Shrink action" I mark "Truncate free space from the end of file". ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 04:53 AM
Fibre Optic
 
Posts: n/a
Default DB shrink problem

Hello,

I try to shrink DB, in "Shrink action" I mark "Truncate free space from the
end of file". After press "OK" button I see such a message:

"Error 8985: Could not locate file "file_name.dat" in system.
DBCC execution completed. If DBCC printed error messages, contact your
system administrator."

So, can you tell my what is wrong ? How to resolve this problem ?

Fibre Optic


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 04:53 AM
Simon Hayes
 
Posts: n/a
Default Re: DB shrink problem


"Fibre Optic" <fibre_optic@go2.pl> wrote in message
news:cfam4n$nm0$1@inews.gazeta.pl...
> Hello,
>
> I try to shrink DB, in "Shrink action" I mark "Truncate free space from

the
> end of file". After press "OK" button I see such a message:
>
> "Error 8985: Could not locate file "file_name.dat" in system.
> DBCC execution completed. If DBCC printed error messages, contact your
> system administrator."
>
> So, can you tell my what is wrong ? How to resolve this problem ?
>
> Fibre Optic
>
>


The error suggests that you have the wrong file name - are you doing this
from Enterprise Manager, or from another tool? You should probably try
shrinking the file directly from Query Analyzer:

http://support.microsoft.com/default...&Product=sql2k

Simon


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:08 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com