# Truncate Tables

### Description

The `Truncate tables` action truncates one or several tables.

### Options

| Option                                | Description                                                                                                                                                                      |
| ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Action name                           | The name of the workflow action.                                                                                                                                                 |
| Connection                            | Name of the database connection on which the tables reside.                                                                                                                      |
| Previous results to args?             | Check this option if you want to get in a dynamic way tables to truncate from results of previous workflow action.                                                               |
| Click here to return tables name list | This button will return all tables defined on the connection. Select tables (one or several) and press "OK". Tables name will be automatically added to "Selected tables" grid.  |
| Selected tables grid                  | Specify here the tables to truncate (insert it manually or use the previous button). If the table is in a different schema that the default one, please specify the schema name. |


---

# 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://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/workflows/actions/truncatetables.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.
