--- sidebar_position: 9 --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; # Delete table Deletes a table from the database `Function DeleteTable(Val Table, Val Connection = "") Export` | Parameter | CLI option | Type | Required | Description | |-|-|-|-|-| | Table | --table | String | ✔ | Table name | | Connection | --dbc | String, Arbitrary | ✖ | Connection or connection string | Returns: Structure Of KeyAndValue, String - Result of query execution
```bsl title="1C:Enterprise/OneScript code example" ```