If you're talking about SQL Server, the good news is that you don't need to.
The Compact part of Compact and Repair isn't needed because SQL automatically reclaims and uses hard disk space (which is essentially what the Compact part does).
The Repair part - this is not so clear cut. Basically, as SQL Server is an enterprise wide database solution Microsoft have built in more fail-safes than with Access. It's much more stable and *shouldn't* corrupt if properly set up and maintained. And for the price difference, you'd hope so
However, this doesn't mean you don't need to carry out routine maintenance on your db. E.g. take a look at Tools, Database Maintenance Planner from the SQL Server Enterprise Manager to get an idea of what you can do.
I don't pretend to know the ins and outs of SQL - it's a very sophisticated piece of software and as such, needs a good understanding of the product to get the most out of it.
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.