Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Express Edition and Compact Edition (2005)
 How to clear the whole databse?
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

Costa Rica
34 Posts

Posted - 04/07/2007 :  15:43:06  Show Profile  Reply with Quote
Hi, my database i am working on is full of crab, who do I clear all the tables info?

Patron Saint of Lost Yaks

30421 Posts

Posted - 04/07/2007 :  16:51:48  Show Profile  Visit SwePeso's Homepage  Reply with Quote
See this post
Run it and then truncate all tables with the highest number first.
Then the second highest and so on...

Peter Larsson
Helsingborg, Sweden
Go to Top of Page

Flowing Fount of Yak Knowledge

2886 Posts

Posted - 04/07/2007 :  18:40:15  Show Profile  Visit jezemine's Homepage  Reply with Quote

1. script out all objects
2. drop the database
3. recreate from scripts
Go to Top of Page


United Kingdom
22859 Posts

Posted - 04/08/2007 :  02:41:11  Show Profile  Reply with Quote
See also:
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000