SQL Server: Import Data from Sybase Advatage (adt Files) using SSIS
In last post, we have learned to free a Sybase Advantagetable (“adt” file) from its data dictionary, so we can import its data to SQLServer.
To extract these “adt” files by using SSIS package first weneed a “New OLE DB Connection”.
Select “Advantage OLE DB Provider” as provider and completefolder address in “Server or file name” section. Use “adssys” as username and leave password blank. Don’t forget to change server type value to “ads_local_server”, by clicking on “ALL” button on left of connection Manager. In Initial catalog provide “adt” filename and press “Test Connection ” to test newly created connection.
Drag a new OLE DB Source
Double click “OLE DB Source” to open it in editor andprovide OLE DB connection manager and name of required table.
Open properties page for “OLE DB Source” and mark TRUE to“AlwaysUseDefaultCodePage”
Now you are ready to import data from OLE DB Source to anytype of destination. You can provide OLE DB Destination to insert data directlyinto a SQL Server database. In this demo we have use Flat File as destination.