Hi,
would totally appreciate help..new to sql
I am tyring to check if a table exists from trigger in oracle reports before creating it. My code complied fine but has an error saying command not ended properly when irun it.
code:
******************************************************
function BeforePForm return boolean is
begin
srw.do_sql('DROP TABLE IF EXISTS REP_OVERPAYMENT_OVERPAID_APPS');
srw.do_sql('Create table REP_OVERPAYMENT_OVERPAID_APPS
(COUNT_IMH_IMAP_HOLDING_ID NUMBER(6))');
commit;
return (TRUE);
end;
*******************************************************