Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Oracle/OAS
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Oracle/OAS
Delete procedure
michell rosvlet
Greenhorn
Posts: 23
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
Posts: 23
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
GOT IT
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
CallableStatement Error on Oracle Stored Procedure.
Prepared Statement vs Callable Statement
Procedure Error
Callable Statement
Need a disconnected resultset
More...