Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shrinkfile

Status
Not open for further replies.

NormanCastle

Programmer
Nov 17, 2010
3
GB
I'm having problems with Shrinkfile. I wish to use the option to migrate the data to other files, and then delete the file.

It takes several hours to operate a single shrink operation. And then it usually gives an error message. It only works sometimes.

Any ideas what could be wrong?

I am, by the way, using SQL Server management Studio. How do I get the file ID number to run it as a SQL statement?
 
How do I get the file ID number to run it as a SQL statement?

Select * From sysfiles

-George
Microsoft SQL Server MVP
My Blogs
SQLCop
"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top