Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 207710

Need workaround for import with autogenerated IDs

$
0
0

Hi,

 

I'm trying to migrate an existing (mysql-) database with auto generated IDs in several primary keys.

I found a note in the docs saying its not possible. In fact, the IDs gets corrupted if i try to.

 

As a first workaround, I disabled the autogeneration -> works fine, all IDs are correct.

 

Am I right, there is no way in marking columns as autogenerated if not done in the CREATE TABLE statement?

 

The only workaround I can see at the moment is creating procedures to use them as a sequences.

Any other ideas?

 

 

Lars


Viewing all articles
Browse latest Browse all 207710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>