반응형
출처: https://marga.tistory.com/577
SQLite 자료형(Data Types)
사용할 수 있는 자료형은 5가지 NULL: 널값 INTEGER: 1,2,3,4,6,8bytes의 정수값 (자동증가 시킬 경우 INTEGER PRIMARY KEY AUTOINCREMENT 로 표기) REAL: 8bytes의 부동소수점값 TEXT: UTF-8, UTF-16BE, UTF-16LE..
marga.tistory.com
https://www.sqlite.org/datatype3.html
Datatypes In SQLite Version 3
INTEGER. The value is a signed integer, stored in 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of the value.
www.sqlite.org
- NULL - 널값
- INTEGER - 정수 (1, 2, 3, 4, 6, 8 byte가 가능하다)
- REAL - 실수 (8 byte 부동소수점)
- TEXT - 문자열 (인코딩은 UTF-8)
- BLOB - Binary Large OBject (이미지 같은 걸 저장하는데 쓴다)
반응형