October 4, 2010 at 2:50 pm
How to delete database? Thank you
October 4, 2010 at 2:53 pm
Open management studio, connect to server. Right click database, select delete. Check that you deleted the correct one.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
October 4, 2010 at 2:56 pm
This is possibly the scariest title I've ever read on a forum post.
October 4, 2010 at 3:16 pm
I recommend you take a look at this link
For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]
October 4, 2010 at 3:22 pm
Derrick Smith (10/4/2010)
This is possibly the scariest title I've ever read on a forum post.
Scary in more ways than 1.
For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]
October 4, 2010 at 3:36 pm
Why drop the database?
You could also run
Drop database [MydatabaseNameGoesHere]
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
October 4, 2010 at 6:02 pm
Krasavita (10/4/2010)
How to delete database? Thank you
Since it's a production server and it seems like you don't know how to do it and -much more important- what to do BEFORE you delete (drop) a production database: DON'T TOUCH IT!!!
Get a senior DBA and describe what you want to do.
A 2 inch bullet proof glass shield between you and the DBA while asking most probably will be a healthy decision
If you're the senior DBA: replace "DBA" with "consultant" and re-read the paragraph above.
Side note: I'm scared....
October 4, 2010 at 6:27 pm
Hopefully, this was an interview question.
__________________________________________________
Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills
October 4, 2010 at 6:37 pm
One thing that I didn't see asked was if this was to drop the database, or to delete data from within the database.
Krasavita - could you expound a bit?
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
October 4, 2010 at 7:40 pm
As alluded to above in one of the posts, BEFORE dropping the database be SURE you take a FULL BACKUP of the database. This way you can recover it later if needed.
October 4, 2010 at 8:22 pm
Lynn Pettis (10/4/2010)
As alluded to above in one of the posts, BEFORE dropping the database be SURE you take a FULL BACKUP of the database. This way you can recover it later if needed.
Or, you could always use DBCC TimeWarp!
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 4, 2010 at 8:34 pm
WayneS (10/4/2010)
Lynn Pettis (10/4/2010)
As alluded to above in one of the posts, BEFORE dropping the database be SURE you take a FULL BACKUP of the database. This way you can recover it later if needed.Or, you could always use DBCC TimeWarp!
Somebody really should write a full fledged article on that procedure.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
October 4, 2010 at 9:33 pm
Soembody really should start a thread on the questions we sometimes have to answer.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 5, 2010 at 12:05 am
Krasavita (10/4/2010)
How to delete database? Thank you
hi
Krasavita
Krasavita, Just I want to what is in your mind, are you really want to delete the Database?
Just Fallow the Gail Shaw comment, and others also. and its recmonded take a backup before dropping the data base.
Ali
MCTS SQL Server2k8
October 5, 2010 at 5:42 am
CirquedeSQLeil (10/4/2010)
WayneS (10/4/2010)
Lynn Pettis (10/4/2010)
As alluded to above in one of the posts, BEFORE dropping the database be SURE you take a FULL BACKUP of the database. This way you can recover it later if needed.Or, you could always use DBCC TimeWarp!
Somebody really should write a full fledged article on that procedure.
Thanks for the reference. I've read the thread and now understand that the universe is unfolding as it should. Cirque, we will write a full-fledged article (I see it in my backup of July 10 2012).
Viewing 15 posts - 1 through 15 (of 37 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy