Is there any SQL lingo to return JUST the first two columns of a table WITHOUT knowing the field names?
SQL
columns
S
You can query the sysobject of the table to find out the first two column then dynamically generate the SQL statement you need.