Hi, I have a simple PL/SQL procedure with IN and OUT parameter of type POSITIVEN. CREATE or REPLACE PROCEDURE PROC ( inval IN POSITIVEN, outval OUT POSITIVEN ) AS BEGIN outval := inval; END; I pass the value 1 for the IN value using the sql type INTEGER in a jdbc application. But oracle throws a exception ORA-06502: PL/SQL: numeric or value error ORA-06512: at line 1 This works fine if I have a POSITIVE type as parameter. Not sure what the problem might be. Is POSITIVEN allowed as an parameter types for a procedure?
Software/Hardware used:
ASKED:
November 12, 2009 7:49 PM
UPDATED:
November 12, 2009 10:14 PM