파닥이

[mysql] auto_increment 값 얻기 본문

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( ) ;

'IT > DB' 카테고리의 다른 글

[mysql] order by 예외처리  (0) 2019.07.22
[mysql] MySQL 중복 키 관리 방법  (0) 2019.07.18
[sql] sql 실행순서  (0) 2019.07.18
[mysql] MySQL 성능 죽이는 잘못된 쿼리 습관  (0) 2019.07.18
[mysql] SQL split values to multiple rows  (0) 2019.07.02
Comments