make_type()

Construct a type from its name and optional parameters

Reference: DuckDB 1.5.5

Arguments & returns

make_type(name, …)

Scalar
Overload link name … Varargs Returns
#01 VARCHAR ANY TYPE

… accepts a variable number of arguments of the type shown.

Example

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

Guide example · Run to view results.

Catalog examples

SELECT
  make_type ('DECIMAL', 10, 2);