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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I delete a logfile then start SQL Server?

Status
Not open for further replies.

CInman

IS-IT--Management
Mar 15, 2001
81
0
0
GB
Can I delete an .LDF file and then start SQL Server? Will it start okay? (SQL Server 7.0)
 
Suggest you detach the database first. Then delete the log file and then reattach the database using sp_attach_single_file_db. Read about this in Books online first, I don't have 7.0 so you'll want to make sure it works in 7.0. Why do you want to get rid of your log file?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top