How to pass data into EXECUTE_IMMEDIATE statement in plsql
body ?
Answer Posted / m.n
declare
v_query VARCHAR2 (200);
v_inv_item_id VARCHAR2 (50);
BEGIN
v_query := 'SELECT inventory_item_id from
mtl_onhand_quantities_detail where inventory_item_id =107';
EXECUTE IMMEDIATE v_query
INTO v_inv_item_id;
DBMS_OUTPUT.put_line ('inventory_item_id ' ||
v_inv_item_id);
exception
when others then
DBMS_OUTPUT.put_line ('inventory_item_id ' ||
v_inv_item_id);
END;
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
how to print multi lay outs,muti currency,muti language in xml publisher
what is pay run id ?
Pls tel me the best text book for Oracle Apps 11i Tech? & I want D2K Text book also?
Tell me how to debug the report?
please any one provide the oracle erp technical interview questions on modules(PO,AP,AR,INV,GL,OM)wise to my mail id..narendra_609@yahoo.co.in
Do you know what are user profiles in apps. Any examples you can give?
What is a value set? List its various types.
If we have a repeated record in a table. But the repeated record how i can transfer from table to nested table?
what are the prerequisites for costing transactions?
Which oracle applications pl/sql standard apis you are familiar, have you used most of them?
How to create a purchase order without a requisition?
Do you know where we can check the status of po?
Plz anybody send me Technical specification for AP Interface
can we get profile values in report without using user exists is it possible how?
What does appl_top directory contain?