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

Home -> Community -> Usenet -> c.d.o.misc -> Oracle/JDBC driver concatenation problem - help!

Oracle/JDBC driver concatenation problem - help!

From: Daniel Kirkdorffer <see.email.address_at_bottom.in.sig>
Date: 1998/06/26
Message-ID: <35944BC3.4859B48A@bottom.in.sig>#1/1

Hi there,

I'm using the Oracle/JDBC driver oracle.jdbc.driver.OracleDriver and executing the following statement:

SELECT
C.VALIDATION_TYPE || ' ' || C.PROVISION_MODE || '-' || C.STYLE_SEQUENCE 'SERVICE_STYLE'
FROM
SERVICE A, SERVICE_CATEGORY B, SERVICE_STYLE C WHERE
A.SERVICE_CATEGORY_ID = B.SERVICE_CATEGORY_ID AND A.SERVICE_STYLE_ID = C.SERVICE_STYLE_ID When I test this with the ODBC driver in MS Query for example, everything works fine: the columns are concatenated into a new column SERVICE_STYLE for display.

However with JDBC I get the following error:

Message: ORA-00923: FROM keyword not found where expected

Is this a know limitation with JDBC? Can I not concatenate this way?

Any help would greatly appreciated!!

Thanks,

Dan

--
Daniel Kirkdorffer
Sr. Consultant, Syllogistics, LLC.
Email: dan.kirkdorffer 'at' syllogistics 'dot' com
       daniel.kirkdorffer 'at' attws 'dot' com
Web:   http://www.syllogistics.com/
       http://members.aol.com/dankirkd/
Visual Cafe Tips:
       http://members.aol.com/dankirkd/vcafe.htm
Received on Fri Jun 26 1998 - 00:00:00 CDT

Original text of this message

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