Export data for a table
Set heading off
Set linesize 1000
SET PAGESIZE 0
Set trimspool on
Set trimout on
Spool d: /your_file.txt
SELECT MENUID || ',' || Menuname || ',' || Label_code
From EP_MENUS;
Spool OFF;