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: ORA-00911: invalid character

Re: ORA-00911: invalid character

From: Andy Hassall <andy_at_andyh.co.uk>
Date: Sun, 13 Apr 2003 13:08:18 +0100
Message-ID: <umki9vc73k3m3vdj6fmtqbimt0k1u038ir@4ax.com>


On Sun, 13 Apr 2003 00:58:41 GMT, sdg <nospan_at_noway.org> wrote:

>Below came from 92R SQL Plus Reference. Can someone give me a hand as to
>why I am getting
>the ORA-00911 error. I have tried to track down without success.
>
>
>SQL> l
> 1 SELECT cust_last_name,
> 2 CASE credit_limit WHEN 100 THEN ’Low’
> 3 WHEN 5000 THEN ’High’
> 4 ELSE ’Medium’ END
> 5* FROM customers
>SQL>
>
>
>SQL> /
>CASE credit_limit WHEN 100 THEN ’Low’
> *
>ERROR at line 2:
>ORA-00911: invalid character

 You've got strange quotes in there; your statement contains ’ when they should be '.

--
Andy Hassall (andy@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk)
Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)
Received on Sun Apr 13 2003 - 07:08:18 CDT

Original text of this message

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