Answer the question
In order to leave comments, you need to log in
Using SEQUENCE in MySQL?
Does MySQL allow SEQUENCE?
I need something like this:
CREATE SEQUENCE [dbo].[SEQ_General]
AS INT
INCREMENT BY 1
MINVALUE 1;
CREATE TABLE <Table> (
[Id] BIGINT NOT NULL DEFAULT (NEXT VALUE FOR dbo.SEQ_General)....
Answer the question
In order to leave comments, you need to log in
Use auto_increment
CREATE TABLE tablename (
id MEDIUMINT NOT NULL AUTO_INCREMENT
);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question