> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.66/nedyx/clearlines-functions/database-functions/getdbcolumnnames.md).

# GETDBCOLUMNNAMES

#### Syntax <a href="#syntax.22" id="syntax.22"></a>

**GETDBCOLUMNNAMES**(*widget*)

1. *widget* - a reference to the widget from which the db column names should be returned - ***Value type**: widget reference*

#### Remarks

* The function returns a range of rows containing the DB column names, with the same text that is displayed in the db column list in the Connection tab.
* If GETDATA is called with a parameter, i.e. a self-defined statement, the function does not return values for all connector types. This functionality is offered step-by-step.

#### Example

The row widget is filled with the db column names which are specified for the table widget in the Connection tab.

<figure><img src="/files/0tI0ZRaaKdQovep6fMcT" alt=""><figcaption></figcaption></figure>
