I'm using this code to execute a list of stored procedures:
EXEC SQL EXECUTE
DECLARE
X NUMBER;
MSG_ERRO VARCHAR2(255);
cursor_handle INTEGER;
procedure_run INTEGER;
BEGIN...
Hello all!
Does anyone know about problems with Pro*C programs using stored procedures wich use dynamic sql (using dbms_sql package) ?
I have a program that simply came with ORA-01405 (fetched column is null) when i changed stored procedured to use dbms_sql package...
I tried to recompile but...
Sorry, but i'm sure I'm using the same partition name.
This is the statement I ran under SQL PLUS:
>SELECT *
>FROM postps_successful_calls
>partition(D0703)
>WHERE
>tariff=3;
This is the cursor definition under PL/SQL, I pass 'D0703' on parameter <particao>:
CURSOR cur_total_msisdn (data...
I'm trying to define in a stored procedure a cursor to bring data at a specified partition (given by a parameter).
The problem is that I get ORA-02149: Specified partition does not exist, and that's the same partition name I use in the next statement:
>SELECT *
>FROM postps_successful_calls...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.