After 10 lines, my column headers reappear in my Oracle release. Is there anything about my code or any environment variable that I can stop to stop this? I need the column headings to appear once at the top of my results.
BREAK ON Customer COLUMN Customer - FORMAT A15 - HEADING 'Customer Name' COLUMN "Charter Date" - HEADING 'Charter|Date' COLUMN Pilot - FORMAT A20 - HEADING 'Pilot' SELECT DECODE (cu.cus_initial,null, cu.cus_fname||' '||cu.cus_lname, cu.cus_fname||' '||cu.cus_initial||'. '||cu.cus_lname) AS Customer, ch.char_date "Charter Date", TRIM( e.emp_fname) ||' '|| TRIM(e.emp_lname) AS "Pilot" FROM hartmar.customer cu, hartmar.charter ch, hartmar.crew cr, hartmar.pilot p, hartmar.employee e WHERE cu.cus_code = ch.cus_code AND ch.char_trip = cr.char_trip AND cr.emp_num = p.emp_num AND p.emp_num = e.emp_num AND cr.crew_type = 'Pilot' ORDER BY cu.cus_lname, cu.cus_fname, cu.cus_initial, ch.char_date ; CLEAR BREAKS CLEAR COLUMNS
source share