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: Connecting to Unidata through HS

Re: Connecting to Unidata through HS

From: Terry Dykstra <dontreply_tddykstra_at_forestoil.ca.x>
Date: Mon, 17 Nov 2003 23:14:12 GMT
Message-ID: <8Dcub.35268$1K.24225@edtnps84>


I found the solution: The DBMS_HS_PASSTHROUGH package allows me to bypass all the HS optimization.

-- 
Terry Dykstra
Canadian Forest Oil Ltd.
"Billy Verreynne" <vslabs_at_onwe.co.za> wrote in message
news:1a75df45.0311170034.6b2369e_at_posting.google.com...

> "Terry Dykstra" <dontreply_tddykstra_at_forestoil.ca.x> wrote
>
> > The trace shows this:
> >
> > SELECT
> > A1.NAME AS c0001,
> > A1.AREA AS c0000
> > FROM ADMINISTRATORS.DEMO_WELL_INFO_NF A1
> >
> > I run this in Powerbuilder using ODBC connection to Unidata and it
fails.
> > If I change it to:
> >
> > SELECT
> > A1.NAME c0001,
> > A1.AREA c0000
> > FROM ADMINISTRATORS.DEMO_WELL_INFO_NF A1
> >
> > it works! So somehow I need to prevent HS from adding the AS in the SQL
> > statement. I can't find anything in the configuration parameters for
> > Unidata ODBC that has the passthrough option.
>
> The AS statement I think is the SQL standard to label a column in the
> SELECT statement. Something like:
> <COLUMNAME/EXPR> [AS <COLUMNLABEL>]
>
> However, a number of databases uses the AS an optional keyword,
> including Oracle. Which I think is not ANSI SQL compliant.
>
> Thus in order to make the statement valid as per SQL standards, HS
> adds the AS keyword to make the Oracle accepted syntax ANSI
> compliant.. but Unidate seems not to support the standards and barfs
> when getting the AS keyword...
>
>
> --
> Billy
Received on Mon Nov 17 2003 - 17:14:12 CST

Original text of this message

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