| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.oracle -> Re: Missing Parenthese Error: ORA-00907
sybrandb_at_yahoo.com wrote:
> Terry Coccoli <request_at_ifneeded.com> wrote in message news:<Krlcc.1556222$iA2.185342_at_news.easynews.com>... >
> > > Sure, you can, but it would require you to stop misusing dynamic sql, > and *Learn* Pl/sql, instead of just hacking away. > Actually you don't need it all for this statement, and an ordinary > select into will just do fine. In that case you can refer directly to > DayTimeValue. > Note: EXECUTE IMMEDIATE statements are always parsed. Using dynamic > sql everywhere is the safest method to get awful performance. Seems > you, without extensive reading and understanding the PL/SQL > documentation, you are heading directly into a disaster. > > Sybrand Bakker > Senior Oracle DBA
Sy, it's always interesting to read your posts first thing in the morning. I would definitely like to learn PL/SQL and I'm hoping that you or someone else can point me in the right direction in this case.
I'm using dynamic SQL in this example because I'm on an 8.1.7 environ and the query makes use of the CASE statement, which the PL/SQL parser doesn't recognize.
How would you suggest that I do this in PL/ SQL ?
Thanks. Received on Tue Apr 06 2004 - 08:55:36 CDT
![]() |
![]() |