Solved

PLS-00103 error in stored procedure!!!

Posted on 2004-10-01
3
639 Views
Last Modified: 2011-04-14
Hi,
I created this procedure

CREATE OR REPLACE procedure upd_coeff as
BEGIN
               UPDATE BL
              SET COEFF=(case when area_oc=0 or area_gr=0
                           then 0
                           else (area_gr/area_oc)
                            end);
              commit;
END;

but when I compile I get error PLS-00103 on CASE clause.
my oracle version is 8.1.7.0

Thanks!!
0
Comment
Question by:db_senior
3 Comments
 
LVL 4

Accepted Solution

by:
willcode4coffee earned 50 total points
ID: 12201861
According to other posts I found, this is not supported in 8.1

http://www.experts-exchange.com/Databases/Oracle/Q_20930966.html

http://www.lazydba.com/oracle/0__59154.html

Hope this helps.

M@
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now