get_type()

Returns the type of the result of the expression

Reference: DuckDB 1.5.5

Arguments & returns

get_type(expression)

Scalar
Overload link expression Returns
#01 ANY TYPE

Example

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

Guide example · Run to view results.

Catalog examples

SELECT
  get_type ('abc');