Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

PLS-00103 error in stored procedure!!!

Posted on 2004-10-01
3
Medium Priority
?
646 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Accepted Solution

by:
willcode4coffee earned 200 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
In this article, we’ll look at how to deploy ProxySQL.
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…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

704 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