473,467 Members | 1,487 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

MsSql, MySql, Migrating from Access.

tc
I have an app that I'm re-writing for MySql and MsSql, the old version
connected to an Access database. It is more than likely that existing
customers will want to upgrade to the later version. I don't want to rely
on 3rd party apps for Migration, so.... I'm more than happy to write the
connection code and transfer the data myself, but I don't know how to ensure
that all Auto Number fields in the Access database transfer correctly, as in
SQL a counter field cannot be written. The Access database will probably
not start at 1 for all Auto Number fields, there may also be missing numbers
in the Auto Number fields as records will have been deleted. Can anyone
help?
May 3 '07 #1
3 1623
tc,

Can you migrate all the data and then make certain columns in the target
databases identity, etc? That works in Access, but I'm not sure about your
target databases.

Also note that the Upsizing wizard in Access seems to do this when moving a
database from Access to SQL Server.

Kerry Moorman
"tc" wrote:
I have an app that I'm re-writing for MySql and MsSql, the old version
connected to an Access database. It is more than likely that existing
customers will want to upgrade to the later version. I don't want to rely
on 3rd party apps for Migration, so.... I'm more than happy to write the
connection code and transfer the data myself, but I don't know how to ensure
that all Auto Number fields in the Access database transfer correctly, as in
SQL a counter field cannot be written. The Access database will probably
not start at 1 for all Auto Number fields, there may also be missing numbers
in the Auto Number fields as records will have been deleted. Can anyone
help?
May 3 '07 #2
For MS SQL see the doc for the SET IDENTITY_INSERT option. It allows to
enable explicit writting of the identity (counter) field for a particular
table.

Don't know for MySQL but it could have a similar option...
---
Patrice

"tc" <tu**@idcodeware.co.uka écrit dans le message de news:
es**************@TK2MSFTNGP05.phx.gbl...
>I have an app that I'm re-writing for MySql and MsSql, the old version
connected to an Access database. It is more than likely that existing
customers will want to upgrade to the later version. I don't want to rely
on 3rd party apps for Migration, so.... I'm more than happy to write the
connection code and transfer the data myself, but I don't know how to
ensure that all Auto Number fields in the Access database transfer
correctly, as in SQL a counter field cannot be written. The Access
database will probably not start at 1 for all Auto Number fields, there may
also be missing numbers in the Auto Number fields as records will have been
deleted. Can anyone help?

May 3 '07 #3
just use Acccess Data Projects and reuse your existing application
logic.

there is nothing worthwhile in .NET
SERIOUSLY

..NET doesn't allow right-click FILTER and right-click SORT


On May 3, 3:15 am, "tc" <t...@idcodeware.co.ukwrote:
I have an app that I'm re-writing for MySql and MsSql, the old version
connected to an Access database. It is more than likely that existing
customers will want to upgrade to the later version. I don't want to rely
on 3rd party apps for Migration, so.... I'm more than happy to write the
connection code and transfer the data myself, but I don't know how to ensure
that all Auto Number fields in the Access database transfer correctly, as in
SQL a counter field cannot be written. The Access database will probably
not start at 1 for all Auto Number fields, there may also be missing numbers
in the Auto Number fields as records will have been deleted. Can anyone
help?

May 4 '07 #4

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

Similar topics

5
by: Phil Powell | last post by:
I've read some online resources that utilize various MySQL command-line actions to migrate data from Access to MySQL. The situation is this: a group of co-workers of mine will be using an Access...
10
by: Mike | last post by:
I recently had a Microsoft Access 97 database corrupt on me. The setup is a split database (front end/back end) setup with about 10-15 users. This is the first corruption in something like a...
0
by: m3rajk | last post by:
I've recently become the defacto DBA of two MSSQL databases at work because I am the only one with SQL experience. I have been asked to do some tasks with the databases but this requires and...
0
by: johnyjj2 | last post by:
Hello! I've got web application written in MSSQL and I need to run it on server. But on the server I've go MySQL (not MSSQL), PHP, KFWS. Do I have to install MSSQL and have both MySQL and MSSQL?...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
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...
1
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.