Hi,
I am running the code containing following statements
name1 :='t_pv_'||substr(enum,i+1)||'_1';
name2 :='t_pv_'||substr(enum,i+1)||'_2';
name3 :='t_pv_'||substr(enum,i+1)||'_3';
dbms_output.put_line(name1);
dbms_output.put_line(name2);
dbms_output.put_line(name3);
str :='update'||' '||name2||' '||'set id_sess=id_sess+'||temp_id_sess_2;
execute immediate str;
it show output og name 1 as
t_pv_ps_cc_credit
_3
and not as t_pv_ps_cc_credit_3 ..
and i feels it failing my execute immediate str statement and getting error:
ORA-00911: invalid character
ORA-06512: at line 37
How i can improve this code????
Thanks
Harvinder
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Harvinder Singh
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).