Programming

SQLite는 dynamic typing이다.

steloflute 2022. 2. 18. 23:46

이런 것이 가능하다:

select '123'+1; -- 124
select '123'+'1'; -- 124
select 123 || 1; -- 1231

 

Datatypes In SQLite

 

Datatypes In SQLite

1. Datatypes In SQLite Most SQL database engines (every SQL database engine other than SQLite, as far as we know) uses static, rigid typing. With static typing, the datatype of a value is determined by its container - the particular column in which the val

sqlite.org

 

심지어 any datatype도 있다.

STRICT Tables (sqlite.org)

 

STRICT Tables

1. Introduction SQLite strives to be flexible regarding the datatype of the content that it stores. For example, if a table column has a type of "INTEGER", then SQLite tries to convert anything inserted into that column into an integer. So an attempt to in

sqlite.org