-4

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?

Midhun MP
  • 103,496
  • 31
  • 153
  • 200
Mitchell Walker
  • 211
  • 3
  • 8
  • 18

2 Answers2

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.

http://www.w3schools.com/sql/sql_drop.asp