Solved

PLS-00103 error in stored procedure!!!

Posted on 2004-10-01
3
642 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How can I find a table in SQL server 2016 4 55
powershell code to list items in dropdown 6 60
Sql Join Problem 2 43
Question about DB Schema 27 52
In today’s complex data management environments, it is not unusual for UNIX servers to be dedicated to a particular department, purpose, or database.  As a result, a SAS® data analyst often works with multiple servers, each with its own data storage…
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies 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…

776 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