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: How would I write this sql

Re: How would I write this sql

From: Jake <oracle-news_at_heyjay.com>
Date: Sat, 7 Jun 2003 06:58:04 -0500
Message-ID: <bbsk82$gge$1@bob.news.rcn.net>


Thanks everyone,

I figured there would be a way to quote it but I couldn't get it to work. As far as the environment, Perl. I'm using a module called Class::DBI. Thank goodness for open source, cause I can patch the code to work with "user"

Jay
"Jake" <oracle-news_at_heyjay.com> wrote in message news:bbrj7t$599$1_at_bob.news.rcn.net...
> How can I write this sql?
>
> SQL> SELECT user.id
> 2 FROM organization user
> 3 WHERE userid = 'myname'
> 4 /
> SELECT user.id
> *
> ERROR at line 1:
> ORA-00923: FROM keyword not found where expected
>
> I'm not able to change the table alias. And I know the error is from
"user"
> being a pseudo column.
>
> but is there some sort of quoting, or something I could do, and leave the
> table alias?
>
> Thanks
> Jay
>
>
Received on Sat Jun 07 2003 - 06:58:04 CDT

Original text of this message

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