Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS - ODBC Source SQL command

$
0
0

Hi,

I created two connections, one ODBC connection ( iSeries ) and the other one OLE DB connection.

I would like to transfer tableA from iSeries into tableB from SQL server 2012 based on selection period column value of  tableA equal to period column value of tableB.

SQL statement as follow:

Select * from iseries.tableA where tableA.period = (select tableB.period from sqlserver.tableB)

My question, is it possible to point to other sql server table in SQL command of ODBC source?  I used following format: servername.databasename.dbo.tablename.  But keep getting error is not allowed.  

Please help.  Thanks in advance.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>