Convert Mdb to Sql Server

后端 未结 2 1729
孤城傲影
孤城傲影 2021-01-26 09:14

How can i convert mdb access file to sql server using c# or other languages? I found an article in msdn. But, i couldnt understand.

Thanks.

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-26 09:49

    Create your SQL Server database and then use Integration Services to transform the data. It makes sense to review the database design thoroughly before doing this. A design made for Jet won't necessarily be the best one for SQL Server.

    EDIT: I failed to mention one other significant difference. Jet/ACE enforces nullable foreign keys when a null is inserted, whereas SQL Server follows the SQL standard which requires that nulls are ignored in foreign key constraints (the constraint isn't violated). If you have nullable foreign keys then I highly recommend you redesign so that you can make them non-nullable in SQL Server (by moving the column(s) to a new table for example).

提交回复
热议问题