Remove existing log file and create new log file in sql server

vignesh picture vignesh · Jul 19, 2018 · Viewed 9.2k times · Source

I have log file which is grown to 1TB. I have no need of log file. Just want to delete the old log file and create a new one instead of old log file.

How can I achieve that ? will it cause any other problem? pleas help.

Answer

Killer Queen picture Killer Queen · Jul 19, 2018

Right mouse button on the database and

TASKS -> SHRINK -> FILES

Then choose the option that interests you

More :

https://docs.microsoft.com/en-us/sql/relational-databases/databases/shrink-a-file?view=sql-server-2017