Option in sql script to include column headers when spooling file to .csv format

Can anyone help me how to include COLUMN HEADER when spooling file to .CSV format through SQL statement.

Thanks,

Akbar

are you doing set head off??
if not you will get column header in spooled file

Are you suggesting remove set head off line or change it to set head on?

thanks

if you used set pagesize to 0 delete it
or else use set head on option

page size entry removed and I am getting header.

thanks a lot.