montypython1
Technical User
Greetings,
Is there a way to use "SELECT * FROM table", but EXCLUDE certain fields from the list?
Frequently, when working with tables having a very large number of fields, I need to EXCLUDE from the output (SELECT *) just a few of the fields. As an example, let's say my table has 100 fields, but I only want to output 90 fields. In the past, I have just had to manually type out each of the 90 fields within the SELECT statement.
Is there an easier and more efficient option with the SQL?
Thanks,
Dave Higgins
Is there a way to use "SELECT * FROM table", but EXCLUDE certain fields from the list?
Frequently, when working with tables having a very large number of fields, I need to EXCLUDE from the output (SELECT *) just a few of the fields. As an example, let's say my table has 100 fields, but I only want to output 90 fields. In the past, I have just had to manually type out each of the 90 fields within the SELECT statement.
Is there an easier and more efficient option with the SQL?
Thanks,
Dave Higgins