DuckDB has special literal types for representing NULL, integer and string literals in queries. These have their own binding and conversion rules. Prior to DuckDB version 0.10.0, integer and string literals behaved identically to the INTEGER and VARCHAR types. Null Literals The NULL literal is denoted with the keyword NULL. The NULL literal can be implicitly converted to any other type.
