Re: How to generate sequence in MySql
How well does that work in a concurrent environment? Say the current sequence is at 29, and two separate web threads or applications perform do this; would both end up with the sequence number '30'? How do you get '@val' back into code from the java connector (jdbc) api?
Subject
Views
Written By
Posted
168775
March 13, 2007 08:05AM
73628
March 22, 2007 10:34PM
67119
March 26, 2007 08:49AM
54094
March 26, 2007 09:31PM
31063
April 04, 2007 03:00AM
24671
April 05, 2007 02:37AM
21776
November 10, 2008 06:40AM
26710
November 21, 2007 03:50AM
30494
January 29, 2008 08:33PM
Re: How to generate sequence in MySql
17911
February 06, 2008 12:16PM
18685
October 15, 2008 01:03PM
12578
November 05, 2008 09:50AM
14431
November 10, 2008 06:32AM
15924
December 14, 2008 07:08AM
18856
January 23, 2009 05:38PM
8837
March 16, 2009 09:00AM
10858
March 16, 2009 09:18AM
8763
March 16, 2009 09:51AM
9637
March 16, 2009 10:23AM
8561
April 12, 2009 07:58AM
10179
April 03, 2009 03:07PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.