Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql get auto_increment value

SELECT `AUTO_INCREMENT`
FROM  INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 'DatabaseName'
AND   TABLE_NAME   = 'TableName';
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql
ADD COMMENT
Topic
Name
1+4 =