If you are using SQL, you can order by the column position of the returned set.
EG., the statement:
SELECT Something, SomethingElse
FROM MyTable
ORDER BY 1
<b>NOTE:</b> THE POSITION OF THE COLUMN IS THE POSITION IN THE PROJECTION LIST
BUT NOT IN THE PHYSICAL TABLE
Last Wiki Answer Submitted: August 8, 2010 11:37 am by SloopJohnB0 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
If you are using SQL, you can order by the column position of the returned set.
EG., the statement:
SELECT Something, SomethingElse
FROM MyTable
ORDER BY 1
Will order by the Something column. If you are doing a Select *, then the number will refer to the column position in the returned table.