sql server - drop sql database vs dropping all tables -


after advice.

i'm using mssql, , have process requires clean slate each run. current process uses drop database , create new one. every , hit error being in use. in order eliminate annoyance, wondering if dropping tables better method.

what peoples thoughts on this?

if want remove database detach server, , attach prepared clean database. means no longer t-sql operation server maintenance operation. might quicker.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -