473,795 Members | 2,854 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Migration of an Access Database. How is the best way?

Hello there,

I am migrating an Access database to Sql Server. There are many many
problems with the access database (Schema and data) that need to be fixed in
the process.

What I was initially doing is writing a script which changes the schema and
data as I go. I then planned to run this script when we go live with the SQL
Server version. After working on this for a month or so I'm realising that
perhaps this isnt going to work. There are just too many changes and
scripting everything takes ages compared with just writing a new schema.

What I was thinking would be better would be to create a brand new schema
and just write a script to import the old data.

What do most people normally do?

Any advice would be very much appreciated
John Sheppard
Jun 27 '08 #1
2 1490
I have normally done it this way:

1). Import all Access table to staging tables in SQL Server
2). Create the correct schema
3). Write scripts to transfer data from staging tables to the new schema

Creating new schema in SQL Server is a good idea because SQL Server has more
superior support for constraints and referential integrity. Also, it is best
to define the correct data types as straight conversion from Access results
in many columns defined as NVARCHAR(255).

HTH,

Plamen Ratchev
http://www.SQLStudio.com

Jun 27 '08 #2

"Plamen Ratchev" <Pl****@SQLStud io.comwrote in message
news:hc******** *************** *******@speakea sy.net...
>I have normally done it this way:

1). Import all Access table to staging tables in SQL Server
2). Create the correct schema
3). Write scripts to transfer data from staging tables to the new schema

Creating new schema in SQL Server is a good idea because SQL Server has
more superior support for constraints and referential integrity. Also, it
is best to define the correct data types as straight conversion from
Access results in many columns defined as NVARCHAR(255).

HTH,

Plamen Ratchev
http://www.SQLStudio.com
Yes I think you are right, this seams like the best way to do things. I wish
I had of thought of this and gone this path to begin with.

Thank you
John sheppard
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
19997
by: susmita_ganguly | last post by:
Hi I am trying to upgrade from oracle 8i to oracle 9i on the same server ..I don't know much abt migration . Can anyone help me out. Thanks. Susmita
2
4138
by: Pawel Gruszka | last post by:
Hello! I need a mdb 2 PostgtreSQL migration tool (something similar to pgAdmin plugin - "Database migration wizard") that don't needs M$ Windows or XWindow. It should also transfer data and relations (!) from .mdb database. I wondering anybody knows a tool with this functions? Or maybe there is another way? mdb -> txt -> pgsql??? Thanks for any solutions. WBR
0
1113
by: CHosoi | last post by:
I want to transfer large amounts of data from an access database to a SQL server database. The schema within the Access database is vastly different to the SQL Server one. Mapping data from access to SQL server is relatively straight forward. What I'm less sure about is the best approach to take to achieve this. Best option I've come up with so far is to use a .NET windows app which uses ADO.NET to read data from access into a typed...
11
9536
by: Jep | last post by:
Any help or advice appreciated. We have just installed and configured a new DB2 v.8.1 with latest FixPack. Just a few days later it dies and now we have a DB that is totally unusable. - - - - It went all wrong one morning when connecting gave us this msg:
0
342
by: CHosoi | last post by:
I want to transfer large amounts of data from an access database to a SQL server database. The schema within the Access database is vastly different to the SQL Server one. Mapping data from access to SQL server is relatively straight forward. What I'm less sure about is the best approach to take to achieve this. Best option I've come up with so far is to use a .NET windows app which uses ADO.NET to read data from access into a typed...
0
9522
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10443
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10216
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10165
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10002
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7543
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5565
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.