The transaction log for one of our SQL Server databases is 4GB and I need to reduce it.
I've used the MS knowledge base and it says to run code "DBCC SHRINKFILE(pubs_log, 2), replacing this with my own log file name and size.
But it does not say HOW to run this, where to go to do it. Is this T-SQL?
I've spent ages searching on the web for how to run this but cannot find out. Does anyone know of an "idiot's guide" anywhere please I can go read, or can someone give me the steps I need to run this DDBC command?
Thanks
I've used the MS knowledge base and it says to run code "DBCC SHRINKFILE(pubs_log, 2), replacing this with my own log file name and size.
But it does not say HOW to run this, where to go to do it. Is this T-SQL?
I've spent ages searching on the web for how to run this but cannot find out. Does anyone know of an "idiot's guide" anywhere please I can go read, or can someone give me the steps I need to run this DDBC command?
Thanks