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 -> Re: Oracle/JDBC driver concatenation problem - help!

Re: Oracle/JDBC driver concatenation problem - help!

From: Daniel Kirkdorffer <see.email.address_at_bottom.in.sig>
Date: 1998/06/29
Message-ID: <35981027.CD844FD0@bottom.in.sig>#1/1

Joe Pusateri wrote:
>
> Dan,
>
> I seem to remember running across this before. Us the AS keyword to
> give the concatenated "column"
> a name:
> SELECT
> C.VALIDATION_TYPE || ' ' || C.PROVISION_MODE || '-' ||
> C.STYLE_SEQUENCE 'SERVICE_STYLE' AS NewCol
> 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
>
> Joe Pusateri Senior Consultant, Zeal, Inc
> joep@zealinc.com http://www.zealinc.com/
> -------- "Your Technology Partner" Northbrook, Illinois --------
> - Client/Server/Internet: SilverStream, Java, VB, CGI/HTML, -

Joe,

Thanks. It works either with AS or without, as long as I don't have the single quotes. Not sure why MS Query bothers to put those in my SQL. Live and learn.

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 Mon Jun 29 1998 - 00:00:00 CDT

Original text of this message

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