# Drop object statements

[Home](/rezoom-sql/master.md) > [Language](/rezoom-sql/language.md) > Drop object statements

[← Alter table statements](/rezoom-sql/language/altertablestmt.md) | [Navigation properties →](/rezoom-sql/language/navigationproperties.md)

## Drop object statements

A drop statement removes an object (which could be a table, view, or index) from the database schema. Drop statements are not for removing rows from tables -- for that, refer to the documentation on [delete statements](/rezoom-sql/language/deletestmt.md).

#### *drop-stmt*

![](/files/P5wC0WX3KDuHzBUS8VtG)

You must specify the type of object you are removing with a drop statement. If you specify it incorrectly, RZSQL will yell at you during compilation. For example, if you write:

```sql
drop table Foo
```

This is valid if and only if `Foo` is a table. If `Foo` is a view, this code will not compile.

***

[← Alter table statements](/rezoom-sql/language/altertablestmt.md) | [Navigation properties →](/rezoom-sql/language/navigationproperties.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://humbobst.gitbook.io/rezoom-sql/language/dropstmt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
