I am creating a dynamic SQL statement. However, when executing the statement, the column names are returned in alphabetical order.
Below please find example
<cfset sqlStatement = 'SELECT x, g, a, p FROM table1'>
Column names are return in a,g,p and x sequence.
How can I get the query to return the column names in the original sequence (x, g, a, p) ?