# tJDBCTableList

Lists the names of a given set of JDBC tables using a select statement based on a Where clause.

tJDBCTableList iterates on a set of table names through a defined JDBC connection.

## tJDBCTableList Standard properties

These properties are used to configure tJDBCTableList running in the Standard Job framework.

The Standard tJDBCTableList component belongs to the Databases family.

The component in this framework is available in all Talend products.

## Basic settings

| Properties | Description |
| --- | --- |
| Database type | Select a database from the list, such as Mysql, Oracle,<br>etc. |
| Component list | Select the tJDBCConnection<br>component or a database-specific connection component if the<br>relevant database is selected from the Database type list. |

## Advanced settings

| Properties | Description |
| --- | --- |
| Use filter | Select this check box to filter the tables to be iterated<br>on. |
| Regular expression for tables<br>name | Enter the regular expression to identify table names.<br><br>Available when Use filter is<br>selected. |
| Filter criteria | Select the criteria for filtering table names.<br><br><br>Include: iterates on the table<br>names identified by the regular expression only.<br><br><br>Exclude: iterates on the table<br>names other than those identified by the regular expression.<br><br>Available when Use filter is<br>selected. |
| tStatCatcher Statistics | Select this check box to collect the log data at the component<br>level. |

## Global Variables

| Variables | Description |
| --- | --- |
| Global Variables | CURRENT\_TABLE: the<br>name of the table currently iterated upon. This is a Flow variable and it returns a<br>string.<br><br><br>NB\_TABLE: the number of tables iterated upon so far. This is a Flow<br>variable and it returns an integer.<br><br><br>ERROR\_MESSAGE: the error message generated by the<br>component when an error occurs. This is an After variable and it returns a string. This<br>variable functions only if the Die on error checkbox is<br>cleared, if the component has this checkbox.<br><br>A Flow variable functions during the execution of a component<br>while an After variable functions after the execution of the component.<br><br>To fill up a field or expression with a variable, press Ctrl+Space to access the variable list and choose the variable to use from<br>it.<br><br>For more information about variables, see [Using contexts and variables](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/contexts-and-variables). |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | This component is to be used along with JDBC components,<br>especially with tJDBCConnection. |