Re: How to generate sequence in MySql
Posted by:
Rod Sherer
Date: March 16, 2009 10:23AM
Why?
Similarly, I have applications which need access to the new ID for creation of other records, internal caching of info, etc. Our application was originally designed with Oracle databases in mind so the NEXTVAL mentality is prevalent. We then added Sql Server support and created a sequence table on that platform which we query with UPDLOCK and then update the sequence value. Now we are trying to include MySQL as a supported database platform and attempting to solve the sequence challenge, among others.
Subject
Views
Written By
Posted
168853
March 13, 2007 08:05AM
73647
March 22, 2007 10:34PM
67137
March 26, 2007 08:49AM
54111
March 26, 2007 09:31PM
31082
April 04, 2007 03:00AM
24688
April 05, 2007 02:37AM
21802
November 10, 2008 06:40AM
26751
November 21, 2007 03:50AM
30536
January 29, 2008 08:33PM
17933
February 06, 2008 12:16PM
18716
October 15, 2008 01:03PM
12611
November 05, 2008 09:50AM
14447
November 10, 2008 06:32AM
15976
December 14, 2008 07:08AM
18931
January 23, 2009 05:38PM
8872
March 16, 2009 09:00AM
10917
March 16, 2009 09:18AM
8798
March 16, 2009 09:51AM
Re: How to generate sequence in MySql
9665
March 16, 2009 10:23AM
8594
April 12, 2009 07:58AM
10211
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.