Database: List tables

List all tables in the database.

Help Centre › Building Processes

List all tables in the database.

Add it to a process

In the process designer, open the Add step tab. Find List tables under Database › Schema, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
VariableYesName of the variable where the result will be stored Default: tables.
Connection nameYesConnection name
SchemaNoThe database schema name

What it gives back

  • {tables} – List of table names

See all Database steps.

Errors

ErrorDescription
Connection not foundNo open connection exists with the specified name

Tips

  • Use the schema parameter to filter results – e.g. "dbo" for SQL Server or "public" for PostgreSQL
  • Combine with db-table-exists for conditional logic before creating or inserting into tables

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.