A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Products
»
Oracle/OAS
Author
Delete procedure
michell rosvlet
Greenhorn
Joined: May 22, 2009
Posts: 23
posted
Jan 24, 2010 19:16:21
0
CREATE OR REPLACE PROCEDURE EMPLOYEE_DEL( P_EMPSAL EMPLOYEE.EMP_SAL%TYPE) AS P_VALUE NUMBER(6,2); BEGIN P_VALUE := P_EMPSAL; IF P_VALUE < 650 THEN DELETE FROM EMPLOYEE WHERE EMP_SAL < 650; ELSE DBMS_OUTPUT.PUT_LINE('NOTTING DELETED'); END IF; END EMPLOYEE_DEL;
Can any one tell me where I am going wrong in this procedure.
michell rosvlet
Greenhorn
Joined: May 22, 2009
Posts: 23
posted
Jan 24, 2010 19:27:00
0
GOT IT
I agree. Here's the link:
http://aspose.com/file-tools
subject: Delete procedure
Similar Threads
Need a disconnected resultset
Procedure Error
Callable Statement
CallableStatement Error on Oracle Stored Procedure.
Prepared Statement vs Callable Statement
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter