Hi All,
I need to write a select statement that will select columns from a table
based on the column order.
For instance:
If I had a table called (MyTable) and it had 3 fields call MyField1,
MyField2 and MyField3
I would like to write a select statement the selects the data from MyField3
with a select statement like this:
SELECT 3 FROM MyTable.
I need to do this because I do not have the name of the field at run time
but I will know the position of the column in the table.
Thanks, John