Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Weird SQL error in 8.1.6

Re: Weird SQL error in 8.1.6

From: John Jones <john.jones_at_duke.edu>
Date: Mon, 5 Feb 2001 15:32:29 -0500
Message-ID: <95n2hv$no3$1@news.duke.edu>

below is the trace file

Oracle8i Enterprise Edition Release 8.1.6.2.0 - Production With the Partitioning option
JServer Release 8.1.6.2.0 - Production
ORACLE_HOME = /opt/app/oracle/product/8.1.6 System name: AIX

Node name:      kringle
Release:        3
Version:        4
Machine:        000168694C00

Instance name: SA_DEV75
Redo thread mounted by this instance: 1
Oracle process number: 26
Unix process pid: 85596, image: oracle_at_kringle (TNS V1-V3)
--
John Jones
Senior Oracle DBA
Duke University, OIT
john.jones_at_duke.edu
Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk> wrote in message
news:981402385.28741.0.nnrp-02.9e984b29_at_news.demon.co.uk...

>
> The good news -
>
> I've just run your statement on 8.1.5 with
> cursor_sharing=force, and the statement
> does not crash (at least from the SQL*Plus
> command line).
>
> Just for interest, what actually gets into
> the trace file if you do:
>
> alter session set events '10046 trace name context forever, level 4';
>
> before you run the statement that give the 933 ?
>
>
> --
> Jonathan Lewis
> Yet another Oracle-related web site: http://www.jlcomp.demon.co.uk
>
> Practical Oracle 8i: Building Efficient Databases
> Publishers: Addison-Wesley
>
> Reviews at: http://www.jlcomp.demon.co.uk/book_rev.html
>
>
>
> John Jones wrote in message <95mdp8$ec2$1_at_news.duke.edu>...
> >Found the problem. We have an init.ora parameter "cursor_sharing =
force"
> >set. this causes the parser to act differently. We really need this
option
> >because PeopleSoft and our developers are not taking use of Bind
variables.
> >
> >--
> >John Jones
> >Senior Oracle DBA
> >Duke University, OIT
> >john.jones_at_duke.edu
> >John Jones <john.jones_at_duke.edu> wrote in message
> >news:95maqq$d3v$1_at_news.duke.edu...
> >> I get the following error
> >>
> >> ERROR at line 1:
> >> ORA-00933: SQL command not properly ended
> >>
> >> When I put the space back, it works.
> >>
>
>
>
Received on Mon Feb 05 2001 - 14:32:29 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US