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 15:41:48 +0100
Message-ID: <smti9v8sm0doivqigtb7a3qc9g08mhg1jb@4ax.com>


On Sun, 13 Apr 2003 12:48:50 GMT, sdg <nospan_at_noway.org> wrote:

>Ok, so I tried the following, same result.
>
>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> /
>case credit_limit when 100 then `low`
> *
>ERROR at line 2:
>ORA-00911: invalid character

 Now you're using `, which is another wrong quote (that's a backtick). It's plain single quote ' for quoting strings (ASCII code 39 decimal).

--
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 - 09:41:48 CDT

Original text of this message

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