Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

primary key start from number

#only if the table is created
ALTER TABLE tbl AUTO_INCREMENT = 1000;

#if table is yet to be created
CREATE TABLE tbl (tbl_id AUTO_INCREMENT = 1000);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #primary #key #start #number
ADD COMMENT
Topic
Name
2+7 =