can_cast_implicitly()

Whether or not we can implicitly cast from the source type to the other type

Reference: DuckDB 1.3.2

Arguments & returns

can_cast_implicitly(source_type, target_type)

Scalar
Overload link source_typetarget_type Returns
#01 ANYANY BOOLEAN

Example

can_cast_implicitly example
SQL
Haybarn WASM 2.0.0-rc12 · In your browser

Engine example · Run to view results.

Catalog examples

SELECT
  can_implicitly_cast (NULL::INTEGER, NULL::BIGINT);