About Oracle ?

admin

Administrator
Staff member
hello all.
I must use Oracle with my job,but I don't know How to deal with the Function when Insert a new record The ID will automatically add 1 . the same as "auto_increment" on MySQL :
CREATE TABLE demo (
id int(5) DEFAULT '0' NOT NULL auto_increment,
news_conren text,
PRIMARY KEY (id)
);

thanks.
 
Back
Top