# Clear Row Data

> Clear selected columns from a database row. Does nothing if the row does not exist.

- ID: `db_clear_row_data`
- Type: Block
- Category: [Databases](https://inventor.bot/docs/reference/blocks/databases.md)

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `database_id` | yes | Select the database containing the row. |  |
| `row_id` | yes | The unique ID of the row to clear. | e.g. `"abc123xyz"` |
| `columns` | yes | Comma-separated column names or column IDs to clear. System columns cannot be cleared. | e.g. `"name, points"` |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `updated` | Whether the row was updated (true/false). False if the row does not exist. | e.g. `"true"` |

**Example**

```go
clearRowData := db_clear_row_data(Args{
	database_id: "...",
	row_id:      "abc123xyz",
	columns:     "name, points",
})
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Row Updated: " + clearRowData.updated,
})
```