# GetDatabaseTablePreview method

Retrieves the values of the specified table of a database for a ODBC, OLEDB or CUSTOM connection.

## Parameters

| Name | Description | Mandatory | Type |
| --- | --- | --- | --- |
| qConnectionId | Identifier of the connection. | Yes | String |
| qDatabase | Name of the database.<br>If *qDatabase* is not set then *qOwner* must be set. | No | String |
| qOwner | Owner of the database.<br>If *qOwner* is not set then *qDatabase* must be set. | No | String |
| qTable | Name of the table. | Yes | String |
| qConditions |  | No | [FilterInfo](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/EngineJSONAPI/Content/models-filterinfo.htm) |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qPreview | List the values in the table. | Array of [DataRecord](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/EngineJSONAPI/Content/models-datarecord.htm) |
| qRowCount |  | Integer |

## Access Control

`reload`