all groups > sql server new users > january 2005 >
You're in the

sql server new users

group:

Migrating a Sybase Database to SQL Server 2000



Migrating a Sybase Database to SQL Server 2000 Acheton
1/25/2005 10:32:52 AM
sql server new users: Hi all,

I'm a new user to SQL Server, hence the post here. I am trying to
migrate a database from Sybase Adaptive Server Anywhere version 8.0.2 to
SQL Server 2000 SP3. So far I have:

Created a new database in SQL Server
Created a new linked server, using ODBC, to the Sybase DB
Copied all of the table definitions from Sybase to SQL Server using the
Import/Export functionality or DTS

However I cannot seem to get the foreign key relationships to migrate
across to SQL Server, which is a bit of a pain since there any several
hundred tables! Has anyone done this before or does anyone know how to
do it? My fall back plan is to unload the database structure in Sybase,
edit the SQL script which is generated so it is compatible with SQL
Server and do things that way. Any ideas or advice would be much
appreciated. Also is this the correct group to post in if I have some
newbie questions about setting up replication on SQL Server?

Thanks,


Re: Migrating a Sybase Database to SQL Server 2000 Cristian Lefter
1/25/2005 1:58:38 PM
Maybe this pages will suggest you a better approach:
"Chapter 6 - Migrating Sybase Databases to SQL Server 2000"
http://www.microsoft.com/resources/documentation/sql/2000/all/reskit/en-us/part2/c0661.mspx
"Migrating from Sybase to SQL Server "
http://www.devarticles.com/c/a/SQL-Server/Migrating-from-Sybase-to-SQL-Server/

Cristian Lefter, SQL Server MVP

[quoted text, click to view]

Re: Migrating a Sybase Database to SQL Server 2000 Acheton
1/27/2005 11:25:41 PM
Hi Cristian,

Thanks for the reply. We are migrating from Adaptive Server Anywhere
rather than Adaptive Server Enterprise which are different products,
although there are some similarities. Also I can't see anything in the
two articles referring to how foreign keys may be transfered from a
Sybase Db to a SQL Server db - do you have any advice to offer on
whether this can be achieved?

Thanks again,


ach

[quoted text, click to view]
AddThis Social Bookmark Button