Coalesce 是 ANSI 的函数吗 SQL

Is Coalesce a function of ANSI SQL

COALESCE 是 ANSI SQL 电子规范的函数吗?各大关系型数据库是否支持?

是:

https://www.mssqltips.com/sqlservertip/2689/deciding-between-coalesce-and-isnull-in-sql-server/

来自文章:

Some think that you need to use COALESCE because it is the only one that adheres to the ANSI SQL standard.

是的。

是的,COALESCE 由 ISO/ANSI SQL 标准定义。

ISO/ANSI SQL 标准规范 (ISO/IEC 9075-2:2016(E)) 将 CASECOALESCE 列为可选功能:

F261     CASE expression
F261-04  COALESCE