dbTalk Databases Forums  

emptying database

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss emptying database in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Phung
 
Posts: n/a

Default emptying database - 10-22-2007 , 07:27 AM






Hi friend ! is there anyway to erase the whole content of a database
other than executing the script.


Reply With Quote
  #2  
Old   
Greg D. Moore \(Strider\)
 
Posts: n/a

Default Re: emptying database - 10-23-2007 , 06:37 AM






"Phung" <purwa (AT) purwadhika (DOT) com> wrote

Quote:
Hi friend ! is there anyway to erase the whole content of a database
other than executing the script.

You could drop and recreate the DB.



--
Greg Moore
SQL Server DBA Consulting Remote and Onsite available!
Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html




Reply With Quote
  #3  
Old   
Jack Vamvas
 
Posts: n/a

Default Re: emptying database - 10-23-2007 , 07:37 AM



If you are dropping and recreating , don't forget to take a script backup of
the db

--

Jack Vamvas
___________________________________
Search IT jobs from multiple sources- http://www.ITjobfeed.com




"Phung" <purwa (AT) purwadhika (DOT) com> wrote

Quote:
Hi friend ! is there anyway to erase the whole content of a database
other than executing the script.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.