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: Reserved SQL word used as column name in a V$ table!

Re: Reserved SQL word used as column name in a V$ table!

From: Detlev Goebel <detlev.goebel_at_gzs.de>
Date: 1997/06/13
Message-ID: <33A0FFC0.221F@gzs.de>#1/1

Ben Ryan wrote:
>
> ..
>
> NB. A * means the word is reserved in both PL/SQL and SQL.
>
> describe v$db_pipes
> Name Null? Type
> ------------------------------- -------- ----
> OWNERID NUMBER
> NAME VARCHAR2(1000)
> TYPE VARCHAR2(7)
> SIZE NUMBER
>
> SELECT v$db_pipes.size FROM v$db_pipes;
> *
> ERROR at line 1:
> ORA-01747: invalid user.table.column, table.column, or column
> specification
>

Ben,

you are able to query those views or tables by using quotation marks. The column name is case sensitive :

select 'SIZE' from v$db_pipes;

This should work.

Good luck

Detlev

-- 
Detlev Goebel

mailto:detlev.goebel_at_gzs.de
---------------------------
Received on Fri Jun 13 1997 - 00:00:00 CDT

Original text of this message

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