calling stored procedure with input and output parameters from batch file [message #525615] |
Tue, 04 October 2011 02:34 |
|
MadanGeddada
Messages: 1 Registered: October 2011 Location: PUNE
|
Junior Member |
|
|
when i am calling stored procedure with input and output parameters from batch file .. I am getting the following message ..
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Oct 4 11:48:51 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
14
=====================================
code which i have written ...
DEClARE
RETCODE NUMBER;
RETMSG VARCHAR2(200);
EXEC SP_SELCT_EMPLOYEE_DATA(277080,'EMPNAME ','EMAIL@EMAIL.COM', 9028045686,111333,25000,'PUNE',35,RETCODE ,RETMSG );
EXIT
================================================
Could you please help me out here
Thanks in adavance.
Madan
Procedure Name :
PROCEDURE SP_SELCT_EMPLOYEE_DATA (
-- A_EMPLOYEE_ID IN VARCHAR2,
--A_JOB_ID IN EMPLOYEES.JOB_ID%TYPE,
P_EMPLOYEE_ID IN EMPLOYEES.EMPLOYEE_ID%TYPE,
P_EMPLOYEE_NAME IN EMPLOYEES.EMPLOYEE_NAME%TYPE,
P_EMAIL IN EMPLOYEES.EMAIL%TYPE,
P_PHONE_NUMBER IN EMPLOYEES.PHONE_NUMBE%TYPE,
P_JOB_ID IN EMPLOYEES.JOB_ID%TYPE,
P_SALARY IN EMPLOYEES.SALARY%TYPE,
P_ADDRESS IN EMPLOYEES.ADDRESS%TYPE,
P_AGE IN EMPLOYEES.AGE%TYPE,
-- P_EMP_REFCUR OUT SYS_REFCURSOR, updated on 10/04/2011
RETCODE OUT NUMBER,
RETMSG OUT VARCHAR2)
[Updated on: Tue, 04 October 2011 02:40] by Moderator Report message to a moderator
|
|
|
|
|