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.

Posted on July 24, 2011, in Data Migration, Sql Server 2005, Sql Server 2008, SSIS. Bookmark the permalink. 1 Comment.

  1. Thanks a lot..ur post helped me

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: