---
title: CREATE MACRO
description: "CREATE MACRO statement for defining reusable SQL expressions in DuckDB."
---

import PartialExample from '../_include-thing-for-parity-with-duckdb.mdx';

<PartialExample thing="The CREATE MACRO statement" verb="is" url="https://duckdb.org/docs/stable/sql/statements/create_macro" linkText="CREATE MACRO" />
