# 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/Kte4vo0z3Psp7nDvOAoY" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nedyx.com/nedyx/clearlines-functions/database-functions/getdbcolumnnames.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
