MySQL Forums
Forum List  »  Oracle

Did you understand?
Posted by: OldManRiver
Date: November 05, 2008 09:50AM

nirav.jatakia,

You were given the link:

http://dev.mysql.com/doc/refman/5.0/en/create-table.html

Looking through it you find:

AUTO_INCREMENT [=] value

You use this whenever your sequence is larger than 1. So if the Oracle or PostGres sequence is >1, as in 2, then add:

AUTO_INCREMENT = 2

Cheers!

OMR

Options: ReplyQuote


Subject
Views
Written By
Posted
166698
March 13, 2007 08:05AM
52818
March 26, 2007 09:31PM
30589
April 04, 2007 03:00AM
26222
November 21, 2007 03:50AM
17398
February 06, 2008 12:16PM
18140
October 15, 2008 01:03PM
Did you understand?
12144
November 05, 2008 09:50AM
13943
November 10, 2008 06:32AM
15153
December 14, 2008 07:08AM
17922
January 23, 2009 05:38PM


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.