IT/DB

[mysql] auto_increment 값 얻기

알라이또 2019. 7. 18. 17:21
반응형
SELECT AUTO_INCREMENT
FROM information_schema.tables
WHERE table_name = 'table name'
AND table_schema = DATABASE( ) ;