Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DTS, import, select statement
Message
De
06/12/1999 16:05:32
Eric Elkins
Pacific Lutheran University
Tacma, Washington, États-Unis
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Titre:
DTS, import, select statement
Divers
Thread ID:
00299367
Message ID:
00299367
Vues:
54
I access RMS files on a mainframe using an ODBC driver. It works well. In the transformation part of DTS, I give it a select statement to limit the records I get back ( on date last updated ). My problem is that I need to do someting like this

SELECT *
FROM Address_rec
WHERE address_date_last_update > (SELECT MAX(date)
FROM DateLastUpdate)

The problem is that each is in a different database. Address_rec is accessed through the RMS ODBC connection and DateLastUpdate resides in SQLServer. I must create a connection for both.

How am I to solve this? I thought of a global variable. Can I access this through a select statement in the dts package?

Please help.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform