|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
MsSql, MySql, Migrating from Access.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? 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 Show quoteHide quote "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? > > > 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" <t***@idcodeware.co.uk> a écrit dans le message de news: es8LKwWjHHA.1***@TK2MSFTNGP05.phx.gbl...Show quoteHide quote >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? >
Add custom button on title bar
Designing Email Msg. Bundle csv files Output Ascii 0x02 as part of record How to create generic object at run-time? fax question adding xml data to a combobox Database Connection Speed Issue. I'm stumped! Would like to see the Generated code in visual studio 2005 Check if string contain Uppercase. |
|||||||||||||||||||||||