{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SDF","colors":{"primary":"#527398","light":"#9FBBDC","dark":"#0C1D37"},"logo":{"light":"https://mintcdn.com/promise-sdf/DO4pvPF5_fwFXGN4/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=DO4pvPF5_fwFXGN4\u0026q=85\u0026s=81b54453175e2919ce43ff83e6a48e25","dark":"https://mintcdn.com/promise-sdf/DO4pvPF5_fwFXGN4/assets/logo/dark.svg?fit=max\u0026auto=format\u0026n=DO4pvPF5_fwFXGN4\u0026q=85\u0026s=4c91a2490a1c65e21cc66f49eba30832"},"favicon":"https://mintcdn.com/promise-sdf/DO4pvPF5_fwFXGN4/assets/favicon.png?fit=max\u0026auto=format\u0026n=DO4pvPF5_fwFXGN4\u0026q=85\u0026s=d96cdef018fc854071000699cbd70ae3","banner":{"content":"SDF is now a part of dbt Labs. Get live CTA previews, inline errors, and mesh support natively in the dbt platform. [Learn more](https://docs.getdbt.com/blog/dbt-fusion-engine?version=2.0) ยท [Migrate to Fusion](https://docs.getdbt.com/guides/prepare-fusion-upgrade?step=7\u0026version=2.0)","dismissible":false},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"promise-sdf","hasAudioNarration":false,"actualSubdomain":"promise-sdf","customDomains":["docs.sdf.com"],"gitSource":{"type":"github","owner":"dbt-labs","repo":"sdf-docs","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"REMOVE_BRANDING":{"status":"DISABLED"}},"buildId":"6ae914f9cd3faed8ded0eb5d:success","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Reference","count":85},{"language":"default","tag":"SQL Functions","count":75},{"language":"default","tag":"Documentation","count":55},{"language":"default","tag":"Trino Functions","count":28},{"language":"default","tag":"Guides","count":24},{"language":"default","tag":"Bigquery Functions","count":21},{"language":"default","tag":"Snowflake Functions","count":21},{"language":"default","tag":"Integrations","count":20},{"language":"default","tag":"Database","count":14},{"language":"default","tag":"Using SDF","count":12}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"reference/snowflake/conditional_expression_functions","slug":"/reference/snowflake/conditional_expression_functions","pageMetadata":{"title":"Conditional Expression Functions","description":null,"href":"/reference/snowflake/conditional_expression_functions"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`booland`,children:_jsx(_components.code,{children:`booland`})}),`\n`,_jsxs(_components.p,{children:[`returns result of logical (Boolean) AND of x and y\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` booland(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`decimal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`38`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`decimal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`38`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` boolean`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/booland`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`boolnot`,children:_jsx(_components.code,{children:`boolnot`})}),`\n`,_jsxs(_components.p,{children:[`returns result of logical (Boolean) NOT of x\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` boolnot(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`decimal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`38`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` boolean`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/boolnot`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`boolor`,children:_jsx(_components.code,{children:`boolor`})}),`\n`,_jsxs(_components.p,{children:[`returns result of logical (Boolean) OR of x and y\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` boolor(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`decimal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`38`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`decimal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`38`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` boolean`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/boolor`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`boolxor`,children:_jsx(_components.code,{children:`boolxor`})}),`\n`,_jsxs(_components.p,{children:[`returns result of logical (Boolean) XOR of x and y\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` boolxor(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`decimal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`38`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`decimal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`38`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` boolean`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/boolxor`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`coalesce`,children:_jsx(_components.code,{children:`coalesce`})}),`\n`,_jsxs(_components.p,{children:[`returns the first non-null expression among its arguments\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` coalesce`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`($`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, ...) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/coalesce`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`decode`,children:_jsx(_components.code,{children:`decode`})}),`\n`,_jsxs(_components.p,{children:[`compare an expression to search values and returns the matching one\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` decode($`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, ...) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/decode`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`equal_null`,children:_jsx(_components.code,{children:`equal_null`})}),`\n`,_jsxs(_components.p,{children:[`Checks if two values are equal, with NULL=NULL semantic\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` equal_null($`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` boolean`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` equal_null(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`array`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`array`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` boolean`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/equal_null`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`greatest`,children:_jsx(_components.code,{children:`greatest`})}),`\n`,_jsxs(_components.p,{children:[`returns the largest value from a list of expressions\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` greatest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`($`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, ...) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/greatest`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`greatest_ignore_nulls`,children:_jsx(_components.code,{children:`greatest_ignore_nulls`})}),`\n`,_jsxs(_components.p,{children:[`returns the largest value from a list of expressions\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` greatest_ignore_nulls($`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, ...) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/greatest_ignore_nulls`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`iff`,children:_jsx(_components.code,{children:`iff`})}),`\n`,_jsxs(_components.p,{children:[`Returns arg2 if arg1 is true, arg3 otherwise.\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` iff(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`boolean`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/iff`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`ifnull`,children:_jsx(_components.code,{children:`ifnull`})}),`\n`,_jsxs(_components.p,{children:[`Returns second expression if the first expression is NULL, the first expression otherwise.\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` ifnull`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`($`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/ifnull`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`is_null_value`,children:_jsx(_components.code,{children:`is_null_value`})}),`\n`,_jsxs(_components.p,{children:[`Returns true if VARIANT value is null\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` is_null_value(variant) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` boolean`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/is_null_value`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`least`,children:_jsx(_components.code,{children:`least`})}),`\n`,_jsxs(_components.p,{children:[`returns the smallest value from a list of expressions\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` least`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`($`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, ...) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/least`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`least_ignore_nulls`,children:_jsx(_components.code,{children:`least_ignore_nulls`})}),`\n`,_jsxs(_components.p,{children:[`returns the smallest value from a list of expressions\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` least_ignore_nulls($`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, ...) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/least_ignore_nulls`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`nullif`,children:_jsx(_components.code,{children:`nullif`})}),`\n`,_jsx(_components.p,{children:_jsx(_components.em,{children:`Supported Signatures`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` nullif`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`($`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/nullif`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`nullifzero`,children:_jsx(_components.code,{children:`nullifzero`})}),`\n`,_jsxs(_components.p,{children:[`Returns the 1st input, with values equal to 0 replaced with NULL\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nullifzero(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`decimal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`38`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` decimal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`38`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nullifzero(double) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` double`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/nullifzero`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`nvl`,children:_jsx(_components.code,{children:`nvl`})}),`\n`,_jsxs(_components.p,{children:[`Returns second expression if the first expression is NULL, the first expression otherwise.\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nvl($`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/nvl`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`nvl2`,children:_jsx(_components.code,{children:`nvl2`})}),`\n`,_jsxs(_components.p,{children:[`Returns second expression if the first expression is NOT NULL. Returns the third expression otherwise.\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nvl2($`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/nvl2`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`regr_valx`,children:_jsx(_components.code,{children:`regr_valx`})}),`\n`,_jsxs(_components.p,{children:[`Returns the value of the dependent variable (2nd param) if both values are not-null.\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` regr_valx(double, double) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` double`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/regr_valx`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`regr_valy`,children:_jsx(_components.code,{children:`regr_valy`})}),`\n`,_jsxs(_components.p,{children:[`Returns the value of the independent variable (1st param) if both values are not-null.\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` regr_valy(double, double) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` double`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/regr_valy`,children:`๐ Official Documentation`})}),`\n`,_jsx(Heading,{level:`2`,id:`zeroifnull`,children:_jsx(_components.code,{children:`zeroifnull`})}),`\n`,_jsxs(_components.p,{children:[`Converts to zero if the input is NULL\n`,_jsx(_components.em,{children:`Supported Signatures`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` zeroifnull(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`decimal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`38`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` decimal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`38`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` zeroifnull(double) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`returns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` double`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://docs.snowflake.com/en/sql-reference/functions/zeroifnull`,children:`๐ Official Documentation`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Conditional Expression Functions","description":null,"href":"/reference/snowflake/conditional_expression_functions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"booland","slug":"booland","depth":2,"children":[]},{"title":"boolnot","slug":"boolnot","depth":2,"children":[]},{"title":"boolor","slug":"boolor","depth":2,"children":[]},{"title":"boolxor","slug":"boolxor","depth":2,"children":[]},{"title":"coalesce","slug":"coalesce","depth":2,"children":[]},{"title":"decode","slug":"decode","depth":2,"children":[]},{"title":"equal_null","slug":"equal_null","depth":2,"children":[]},{"title":"greatest","slug":"greatest","depth":2,"children":[]},{"title":"greatest_ignore_nulls","slug":"greatest_ignore_nulls","depth":2,"children":[]},{"title":"iff","slug":"iff","depth":2,"children":[]},{"title":"ifnull","slug":"ifnull","depth":2,"children":[]},{"title":"is_null_value","slug":"is_null_value","depth":2,"children":[]},{"title":"least","slug":"least","depth":2,"children":[]},{"title":"least_ignore_nulls","slug":"least_ignore_nulls","depth":2,"children":[]},{"title":"nullif","slug":"nullif","depth":2,"children":[]},{"title":"nullifzero","slug":"nullifzero","depth":2,"children":[]},{"title":"nvl","slug":"nvl","depth":2,"children":[]},{"title":"nvl2","slug":"nvl2","depth":2,"children":[]},{"title":"regr_valx","slug":"regr_valx","depth":2,"children":[]},{"title":"regr_valy","slug":"regr_valy","depth":2,"children":[]},{"title":"zeroifnull","slug":"zeroifnull","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"promise-sdf","siteName":"SDF","title":"Conditional Expression Functions - SDF","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-12T15:16:02.749Z","originalFileLocation":"reference/snowflake/conditional_expression_functions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"SDF\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/promise-sdf/8sRhP2LknlfvxNPU/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/promise-sdf/8sRhP2LknlfvxNPU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/promise-sdf/8sRhP2LknlfvxNPU/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/promise-sdf/8sRhP2LknlfvxNPU/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/promise-sdf/8sRhP2LknlfvxNPU/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/promise-sdf/8sRhP2LknlfvxNPU/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/promise-sdf/8sRhP2LknlfvxNPU/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/promise-sdf/8sRhP2LknlfvxNPU/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/promise-sdf/8sRhP2LknlfvxNPU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Conditional Expression Functions - SDF\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SDF\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sdf.com/reference/snowflake/conditional_expression_functions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://promise-sdf.mintlify.site/_mintlify/api/og/v2?division=Snowflake+Functions\u0026amp;title=Conditional+Expression+Functions\u0026amp;theme=5bd7eaccd2c72aea9727206d\u0026amp;signature=a8c5af7a42e074c8c49e23983848341e4da7cafa3ae003fe8996bc043fe0fabd\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Conditional Expression Functions - SDF\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://promise-sdf.mintlify.site/_mintlify/api/og/v2?division=Snowflake+Functions\u0026amp;title=Conditional+Expression+Functions\u0026amp;theme=5bd7eaccd2c72aea9727206d\u0026amp;signature=a8c5af7a42e074c8c49e23983848341e4da7cafa3ae003fe8996bc043fe0fabd\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/promise-sdf/8sRhP2LknlfvxNPU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SDF\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#527398\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sdf.com/reference/snowflake/conditional_expression_functions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/snowflake/conditional_expression_functions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sdf.com/#organization\",\"name\":\"SDF\",\"url\":\"https://docs.sdf.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/promise-sdf/DO4pvPF5_fwFXGN4/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=DO4pvPF5_fwFXGN4\u0026q=85\u0026s=81b54453175e2919ce43ff83e6a48e25\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sdf.com#website\",\"name\":\"SDF\",\"url\":\"https://docs.sdf.com\",\"publisher\":{\"@id\":\"https://docs.sdf.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sdf.com/reference/snowflake/conditional_expression_functions#webpage\",\"url\":\"https://docs.sdf.com/reference/snowflake/conditional_expression_functions\",\"name\":\"Conditional Expression Functions\",\"dateModified\":\"2026-05-12T15:16:02.749Z\",\"isPartOf\":{\"@id\":\"https://docs.sdf.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sdf.com/reference/snowflake/conditional_expression_functions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sdf.com/reference/snowflake/conditional_expression_functions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SQL Functions\",\"item\":\"https://docs.sdf.com/reference/snowflake/account_usage_table_functions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Snowflake Functions\",\"item\":\"https://docs.sdf.com/reference/snowflake/account_usage_table_functions\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Conditional Expression Functions\",\"item\":\"https://docs.sdf.com/reference/snowflake/conditional_expression_functions\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.sdf.com/reference/snowflake/conditional_expression_functions#article\",\"headline\":\"Conditional Expression Functions\",\"name\":\"Conditional Expression Functions\",\"url\":\"https://docs.sdf.com/reference/snowflake/conditional_expression_functions\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sdf.com/reference/snowflake/conditional_expression_functions#webpage\"},\"dateModified\":\"2026-05-12T15:16:02.749Z\",\"publisher\":{\"@id\":\"https://docs.sdf.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sdf.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SDF\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"SDF","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction/welcome"}]},{"tab":"Database","pages":[{"title":"Database","href":"/database/introduction"}]},{"tab":"Cloud","pages":[{"title":"Cloud","href":"/cloud/introduction"}]},{"tab":"Linter","pages":[{"title":"Linter","href":"/linter/overview"}]},{"tab":"Releases","pages":[{"title":"Releases","href":"/releases/latest"}]},{"tab":"Reference","groups":[{"group":"Reference","pages":[{"title":"SDF CLI Reference","href":"/reference/sdf-cli"},{"title":"SDF YML Schema","href":"/reference/sdf-yml"},{"title":"SDF Information Schema","href":"/reference/sdf-information-schema"},{"title":"Submit a Support Request","href":"/reference/support"},{"title":"SDF Error Codes","href":"/reference/error-codes"}]},{"group":"SQL Functions","pages":[{"group":"Snowflake Functions","pages":[{"title":"Account Usage Table Functions","href":"/reference/snowflake/account_usage_table_functions"},{"title":"Aggregate Functions","href":"/reference/snowflake/aggregate_functions"},{"title":"Bitwise Expression Functions","description":null,"href":"/reference/snowflake/bitwise_expression_functions"},{"title":"Conditional Expression Functions","href":"/reference/snowflake/conditional_expression_functions"},{"title":"Context Functions","description":null,"href":"/reference/snowflake/context_functions"},{"title":"Conversion Functions","href":"/reference/snowflake/conversion_functions"},{"title":"Data Generation Functions","href":"/reference/snowflake/data_generation_functions"},{"title":"Date \u0026 Time Functions","href":"/reference/snowflake/date_and_time_functions"},{"title":"Encryption Functions","href":"/reference/snowflake/encryption_functions"},{"title":"Geospatial Functions","href":"/reference/snowflake/geospatial_functions"},{"title":"Hash Functions","href":"/reference/snowflake/hash_functions"},{"title":"Information Schema","href":"/reference/snowflake/information_schema"},{"title":"Metadata Functions","href":"/reference/snowflake/metadata_functions"},{"title":"Numeric Functions","href":"/reference/snowflake/numeric_functions"},{"title":"Semi-Structured and Structured Data Functions","href":"/reference/snowflake/semi-structured_and_structured_data_functions"},{"title":"String \u0026 Binary Functions","href":"/reference/snowflake/string_and_binary_functions"},{"title":"String Functions","href":"/reference/snowflake/string_functions"},{"title":"System Functions","href":"/reference/snowflake/system_functions"},{"title":"Table Functions","href":"/reference/snowflake/table_functions"},{"title":"Vector Similarity Functions","href":"/reference/snowflake/vector_similarity_functions"},{"title":"Window Functions","href":"/reference/snowflake/window_functions"}]},{"group":"Redshift Functions","pages":[{"title":"Aggregate Functions","href":"/reference/redshift/aggregate_functions"},{"title":"Math Functions","href":"/reference/redshift/math_functions"},{"title":"Other Expressions","href":"/reference/redshift/other_expressions"},{"title":"String Functions","href":"/reference/redshift/string_functions"},{"title":"Temporal Functions","href":"/reference/redshift/temporal_functions"}]},{"group":"Trino Functions","pages":[{"group":"SDF Execution Support","pages":[{"title":"All Supported Functions","href":"/reference/trino/sdf_execution_support/all_functions"}]},{"title":"Aggregate Functions","href":"/reference/trino/aggregate_functions"},{"title":"Array Functions","href":"/reference/trino/array_functions"},{"title":"Binary Functions","href":"/reference/trino/binary_functions"},{"title":"Bitwise Functions","href":"/reference/trino/bitwise_functions"},{"title":"Color Functions","href":"/reference/trino/color_functions"},{"title":"Comparison Functions","href":"/reference/trino/comparison_functions"},{"title":"Conditional Functions","href":"/reference/trino/conditional_functions"},{"title":"Conversion Functions","href":"/reference/trino/conversion_functions"},{"title":"Datetime Functions","href":"/reference/trino/datetime_functions"},{"title":"Geospatial Functions","href":"/reference/trino/geospatial_functions"},{"title":"Hyperloglog Functions","href":"/reference/trino/hyperloglog_functions"},{"title":"Json Functions","href":"/reference/trino/json_functions"},{"title":"Lambda Functions","href":"/reference/trino/lambda_functions"},{"title":"Map Functions","href":"/reference/trino/map_functions"},{"title":"Math Functions","href":"/reference/trino/math_functions"},{"title":"Ml Functions","href":"/reference/trino/ml_functions"},{"title":"Mongodb Functions","href":"/reference/trino/mongodb_functions"},{"title":"Qdigest Functions","href":"/reference/trino/qdigest_functions"},{"title":"Regexp Functions","href":"/reference/trino/regexp_functions"},{"title":"Session Functions","href":"/reference/trino/session_functions"},{"title":"Setdigest Functions","href":"/reference/trino/setdigest_functions"},{"title":"String Functions","href":"/reference/trino/string_functions"},{"title":"T-digest Functions","href":"/reference/trino/t-digest_functions"},{"title":"Teradata Functions","href":"/reference/trino/teradata_functions"},{"title":"Url Functions","href":"/reference/trino/url_functions"},{"title":"Uuid Functions","href":"/reference/trino/uuid_functions"},{"title":"Window Functions","href":"/reference/trino/window_functions"}]},{"group":"Bigquery Functions","pages":[{"title":"Aggregate Functions","href":"/reference/bigquery/aggregate_functions"},{"title":"Math Functions","href":"/reference/bigquery/math_functions"},{"title":"Other Expressions","href":"/reference/bigquery/other_expressions"},{"title":"String Functions","href":"/reference/bigquery/string_functions"},{"title":"Temporal Functions","href":"/reference/bigquery/temporal_functions"},{"title":"Approximate Aggregate Functions","href":"/reference/bigquery/approximate_aggregate_functions"},{"title":"Array Functions","href":"/reference/bigquery/array_functions"},{"title":"Bit Functions","href":"/reference/bigquery/bit_functions"},{"title":"Date Functions","href":"/reference/bigquery/date_functions"},{"title":"Datetime Functions","href":"/reference/bigquery/datetime_functions"},{"title":"Debugging Functions","href":"/reference/bigquery/debugging_functions"},{"title":"Geography Functions","href":"/reference/bigquery/geography_functions"},{"title":"Hash Functions","href":"/reference/bigquery/hash_functions"},{"title":"Interval Functions","href":"/reference/bigquery/interval_functions"},{"title":"JSON Functions","href":"/reference/bigquery/json_functions"},{"title":"Interval Functions","href":"/reference/bigquery/search_functions"},{"title":"Security Functions","href":"/reference/bigquery/security_functions"},{"title":"Statistical Aggregation Functions","href":"/reference/bigquery/statistical_aggregate_functions"},{"title":"Time Functions","href":"/reference/bigquery/time_functions"},{"title":"Timestamp Functions","href":"/reference/bigquery/timestamp_functions"},{"title":"Utility Functions","href":"/reference/bigquery/utility_functions"}]}]}]}]},"basePath":"","title":"Conditional Expression Functions - SDF","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["10e4515597"],"chunks":["BannerMarkdown-C79IUEr8.js","dist-DE3EVdvd.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-DK3K4Z1S.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}