all groups > sql server (alternate) > may 2007 >
You're in the

sql server (alternate)

group:

DTS w/ Oracle Issue



DTS w/ Oracle Issue Jimbo
5/31/2007 11:31:10 AM
sql server (alternate): Im having an issue with DTS and I dont know if anyone else has
experienced this...In my transformation I have a sql statement that
executes against oracle..in it I'm selecting COUNT(DISTINCT
I.PX_INVOICE_ID) ...however when the DTS package executes I get an
error stating that "DISTINCTI"."PX_INVOICE_ID" is an invalid
identifier..why is it concatenting this?

Thanks

Jim
Re: DTS w/ Oracle Issue DA Morgan
5/31/2007 12:36:46 PM
[quoted text, click to view]

It isn't Oracle ... so what version, what connection driver, etc?

But do you really have a schema named "I"? Seems strange.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
Re: DTS w/ Oracle Issue Dan Guzman
6/1/2007 12:00:00 AM
I agree with Daniel that this is most likely a client driver issue. I
haven't run into the problem myself but I've only run only simple SQL
statements using the Oracle drives. Can you post the full SQL statement?

You might quoting the identifiers as a possible workaround. For example:

SELECT COUNT("I"."PX_INVOICE_ID")
FROM "MYSCHEMA"."INVOICES" I;

--
Hope this helps.

Dan Guzman
SQL Server MVP

[quoted text, click to view]
Re: DTS w/ Oracle Issue Jimbo
6/5/2007 9:38:35 PM
It appears to be with the OLE data provider...when upgrading it to 10
it worked..also the ODBC driver for Oracle worked....really weird

-Jim
AddThis Social Bookmark Button