-
[EFCore] reset sqlite_sequenceC#/EFCore 2023. 10. 12. 10:57
Reset an AUTOINCREMENT field in SQLite
sqlite_sequence
: Primary Key 자동 증가시 생기는 테이블
name : Table이름
sq : 현재 자동 증가된 숫자
모든 테이블 데이타 삭제하더라도
sqlite_sequence 테이블 data를 삭제 하지 않으면 seq 이후의 값으로 Key값 자동 증가
https://www.vbforums.com/showthread.php?861479-RESOLVED-Reset-an-AUTOINCREMENT-field-in-SQLite
VBForums
Message No Thread specified. If you followed a valid link, please notify the administrator Click Here to Expand Forum to Full Width
www.vbforums.com
728x90'C# > EFCore' 카테고리의 다른 글
[EFCore] Key 값 넣을 때 (1) 2023.10.06 [EFCore] Grpc Data Parsing (0) 2023.09.21 [EFCore] SQLite .db 사용시 Close (0) 2023.08.29 [EFCore] 시작하기 (0) 2022.11.09 댓글