SPRING :: NOTE

[MYSQL] Auto_increment 다음 값 가져오기 본문

Development Language/WEB

[MYSQL] Auto_increment 다음 값 가져오기

RAYZIE 2018. 10. 25. 15:50
반응형

테이블 컬럼 중 Auto_increment가 적용 된 컬럼이 있을것이다.

이 컬럼의 다음 예정값을 받아오는 Query 예제이다.


select Auto_increment from information_schema.tables 
where table_schema = 'dst_map' and table_name = 'map_data';


반응형
Comments