# QueryColumnList()

return the column names as list

```
QueryColumnList( query=query, delimiter=string );
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| query | query | Yes | Query object to get data from. |  |
| delimiter | string | No | delimiter used to separate elements in list | , |

# Examples

```cfml
qry=queryNew("aaa");
arr=arrayNew(1);
arr[1]="a";
arr[2]="b";
arr[3]="c";
QueryAddColumn(qry,"bbb",arr);
QueryAddColumn(qry,"ccc",arr);
writeDump(queryColumnList(qry));
```







# Categories

[Queries](../../categories/query.md)

# See Also

[query.columnList()](../objects/query/columnlist.md)