ALTER TABLE lectur.person AUTO_INCREMENT = 100
==> 이렇게 하면 시작 번호가 100 으로 변경
truncate lecture.person
=> table 초기화 , 다지움
다시 1부터 시작함...
'Spring > spring_유용한것' 카테고리의 다른 글
jpa one to many 관련 (0) | 2023.06.07 |
---|---|
jpa tip (0) | 2023.06.06 |
html input type (0) | 2023.06.05 |
jsp, thymeleaf 동시에 사용하기... (0) | 2023.06.05 |
spring annotation (0) | 2023.06.05 |