---
sidebar_position: 4
description: Delete table column and other functions to work with SQLite in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, SQLite]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Delete table column
Deletes a column from the table
`Function DeleteTableColumn(Val Table, Val Name, Val Connection = "") Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Table | --table | String | ✔ | Table name |
| Name | --name | String | ✔ | Column name |
| Connection | --db | String, Arbitrary | ✖ | Existing connection or database path |
Returns: Map Of KeyAndValue - Result of query execution
```bsl title="1C:Enterprise/OneScript code example"
Base = "C:\Users\bayse\AppData\Local\Temp\v8_2B38_2c.sqlite";
Table = "test";
Name = "new_col";
Result = OPI_SQLite.DeleteTableColumn(Table, Name, Base);
```
```bash
oint sqlite DeleteTableColumn \
--table "test" \
--name "new_col" \
--db "C:\Users\bayse\AppData\Local\Temp\3haxtz5d.4nv.sqlite"
```
```batch
oint sqlite DeleteTableColumn ^
--table "test" ^
--name "new_col" ^
--db "C:\Users\bayse\AppData\Local\Temp\3haxtz5d.4nv.sqlite"
```
```json title="Result"
{
"result": true
}
```