Forum Moderators: open
But, you could do several queries.
SELECT * FROM table WHERE table_ID = 0 will get you an empty query result set with just the column headers. Use your favorite programming language to to put the column headings into a list, strip out the column headings you don't want, then put that list into the select statement for the real query.