The question that comes in to mind first is "Why would that be needed any way?"
Well, there is a way for everything, check following approaches if these help-
---Export the result with header and remove the data rows
---Use a condition in
WHERE
clause which will be evaluated to false always so as to make sure you will not get any data rows and just the headers.
Something like -
SELECT * FROM MyTable WHERE 1<>1
Hope, it helps :)