Was reading about 'DROP' in a SQL book I have. I am not entirely sure what it is supposed to do or means. Could anyone please give me a good description of the term?
Asked
Active
Viewed 9,087 times
-4
-
2something like `DELETE` for an object, `DROP databaseName` will drop your database. – John Woo Jul 11 '13 at 15:07
-
http://www.google.fr/search?q=sql+drop – xlecoustillier Jul 11 '13 at 15:08
2 Answers
4
'DROP' is sql query keyword to delete something on SQL Database
The most commonly used situation is when you try to delete Table, Database or Certain Column in a Table.
Delete Database
> DROP DATABASE database_name
Delete Table
> DROP TABLE table_name
Delete Column
> ALTER TABLE table_name DROP INDEX column_name

Romans 8.38-39
- 456
- 4
- 14
1
DROP is a keyword in SQL which removes or deletes an element specified in the rest of the SQL statement.

Andys-o-matic
- 11
- 1