Anonymous
Asked in
Cars &Transportation
·
2 weeks ago
What happens when you drop database?
Contents
- Is dropping a database the same as deleting?
- Why drop database if exists?
- What happens when you take database offline?
- Can databases be deleted?
Is dropping a database the same as deleting?
Simply: a DELETE command removes matching rows, a DROP command removes the entire table. Better yet, all matching rows.
Why drop database if exists?
IF EXISTS is used to prevent an error from occurring if the database does not exist. If the default database is dropped, the default database is unset (the DATABASE() function returns NULL ). If you use DROP DATABASE on a symbolically linked database, both the link and the original database are deleted.
What happens when you take database offline?
Taking the database offline is a quick way to stop the bleeding until you get the bug identified. You can then bring it back online to assess the damage within the database.
Can databases be deleted?
System databases cannot be deleted.
Related Questions
Relevance
-
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago
Write us your question, the answer will be received in 24 hours