get the error

Hi Masters

I get the below error.

When I run the proc. ORA-19011: character string buffer too smal line no. 169. Here I don't have the code on line 169.

RUN IMMEDIATELY 'START' | l_api_name_v | » ( : 1, : 2:3:4) ;'|| ' END; "HELP IN ip_request_code_n, l_intrnl_ref_n, lp_request_xml_v, OUT l_response_object_x;

but

l_response_object_x API_REQUEST_RESPONSE_DETAILS. TYPE % RESPONSE_OBJECT_X;

Type RESPONSE_OBJECT_X of xml;

op_response_object_v: = l_response_object_x.getstringVal ();

Please advice... Question again.

Concerning

AR

I get the below error.

When I run the proc. ORA-19011: character string buffer too smal line no. 169.

Here I don't have the code on line 169.

Yes - you can NOT put two pounds of sugar in a bag of a BOOK.

RUN IMMEDIATELY 'START' | l_api_name_v | » ( : 1, : 2:3:4) ;'|| ' END; "HELP IN ip_request_code_n, l_intrnl_ref_n, lp_request_xml_v, OUT l_response_object_x;

OK - and we have NO IDEA of the magnitude of these 'bags' are you reference: ip_request_code_n, etc.

What happened when you ran that MANUALLY by using the same values as you pass the code?

You don't have that you did? Well that's the BEST PRACTICE for the use of dynamic sql statements.

1. print the request code.

2. examine the syntax and other errors

3 run it manually to check that there is no syntax / other errors and that it produces a correct result

4. ONLY, THEN put it into dynamic sql and try to run it.

Do NOT try to automate what you can not do it manually.

Start - run manually. Then automate it.

Tags: Database

Similar Questions

Maybe you are looking for