> For the complete documentation index, see [llms.txt](https://readme.directual.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://readme.directual.com/scenarios/editing-scenarios/integration-steps/sql-request-step.md).

# SQL-request step

![](/files/-Mg6MAd1kjBwoS8i4x-S)

**Driver** — your DB type;\
**Address** — IP and port of your DB;\
**Username**/**Password** — auth credentials;\
**Base** — DB name;\
**SQL** — `DML` (Data Manipulation Language) SQL-запрос; If you want to use other request type, turn on **Anonymous block** to "Yes" and use `DECLARE ... BEGIN ... END`;\
**Record result** — field for saving request result;\
**Create an event** — standard [generation of event](/scenarios/principles-of-scenarios/directual-event-model.md#generate-an-event-from-scenario-step).
