Hi Linju,
>> Pls help me by giving the solution . This procedure is not working properly.
No.
Sorry, this is an Oracle DBA forum, we don't have the resources to tutor people!
You want to open a service request with Oracle technical support:
http://support.oracle.com Having said that, see below,
you forgot a quote mark and the firsr quote mark uis a "leaning" quote":CODE
v_tem :='select bankcode,bankname,dist_code from ' || UPPER (p_tablename) || ';'