Try to reverse the problem: run the query in MS SQL and select from Oracle.
Create a linked server in MS SQL to point to the Oracle DB.( See MSSQL BOL
for details on how to do this)
You must install the Oracle client( Net8 or SQL*Net ) on the SQL Server
machine for this to work.
Then run a query from SQL Server like this:
SELECT PROBLEM_ID, SEVERITY, USER_ID, PROBLEM_CODE, SYSTEM,
CLOSE_DATE, CLOSE_TIME, FIRST_LOCATION_ID, FIRST_CONTACT_ID,
LOCATION_ID, CALLER_ID, DESCRIPTION, OPEN_DATE, OPEN_TIME, CONTACT_NAME,
FLX_PRO_VCHR1, FLX_PRO_VCHR2, FLX_LOC_VCHR1, FLX_LOC_VCHR2,
SESSION_SEVERITY, SESSION_USER_ID
FROM oracle_link...PROBLEM_VIEW
WHERE (userid in (sql table)
HTH,
P.
-----Original Message-----
From: Joshua Tipton [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 9:22 AM
To: CF-Talk
Subject: ot dts help
I am pulling from an oracle database and need to do a lookup on the sql
server. How can I do this been working on this one all weekend please help.
SELECT PROBLEM_ID, SEVERITY, USER_ID, PROBLEM_CODE, SYSTEM,
CLOSE_DATE, CLOSE_TIME, FIRST_LOCATION_ID, FIRST_CONTACT_ID,
LOCATION_ID, CALLER_ID, DESCRIPTION, OPEN_DATE, OPEN_TIME, CONTACT_NAME,
FLX_PRO_VCHR1, FLX_PRO_VCHR2, FLX_LOC_VCHR1, FLX_LOC_VCHR2,
SESSION_SEVERITY, SESSION_USER_ID
FROM EXAV.PROBLEM_VIEW
WHERE (userid in (sql table)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists