I understand the auto-increment capability, but how would one share it amount three
Would one have to do a rig, and create an extra table with increment in it, then get that
value to update table 1, then repeat process again to get new increment and put it into
table 2, etc.?
I am used to asking for the sequence.nextId, then using it in any table I need.
Am I missing something here, or does someone know how to handle this in multiple tables?
From: Peter Brawley [mailto:peter.brawley@stripped]
Sent: Thursday, January 13, 2005 11:38 AM
To: Scott Purcell
Subject: Re: create sequence
You want AUTO_INCREMENT,
Scott Purcell wrote:
>I would like to create a sequence object in mysql that I could use in multiple tables
> through a application I am developing.
>Could someone please send my the syntax of how to create a simple sequence that starts
> at 1 increments by 1.