Archives of the TeradataForum
Message Posted: Mon, 14 Sep 2015 @ 20:02:41 GMT
<-- Anonymously Posted: Monday, September 14, 2015 14:57 -->
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.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 23 Jun 2019|