|
|
Archives of the TeradataForum
Message Posted: Mon, 14 Sep 2015 @ 20:02:41 GMT
Subj: | | Getting column-names from dbc.columns in an order |
|
From: | | Anomy Anom |
<-- Anonymously Posted: Monday, September 14, 2015 14:57 -->
Hi,
Is there any way by which I could query dbc.columns (or any other dbc table) to get the list of column names of a particular table in the same
order as their actual ordinal positions in the table DDL ?
Currently when I query dbc.columns to get the list of columns (for any table) it returns the columns in a random order. However, I want them to
be returned in the exact order as they are positioned/appears in the table structure.
Thanks
| |