delete_records
Delete records from a specified table using a WHERE clause to target exact rows, requiring a table name and condition to prevent full-table deletion.
Instructions
Delete records from a table matching a WHERE clause (Delete).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | Positional parameter values for the WHERE clause placeholders. | |
| table_name | Yes | Target table name. | |
| schema_name | No | Target schema name (default: 'dbo'). | dbo |
| where_clause | Yes | SQL WHERE clause expression (required to avoid accidental full table deletion). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||