我可以 SELECT SQL 服务器中的所有内置功能吗?
Can I SELECT all the bult-in functions in SQL Server?
是否可以通过查询显示每个内置函数(如 LEFT、SIN、IIF 等)?
不,functions documentation 是您的最佳选择。它提供了所有受支持的 built-in 函数的结构化概述。
使用任何体面的 IDE 将为函数名称提供一些突出显示和 auto-completion 功能。
来自官方工具的文档或语法高亮定义:
Azure Data Studio - syntax support
{
"match": "(?i)\b(avg|checksum_agg|count|count_big|grouping|grouping_id|max|min|sum|stdev|stdevp|var|varp)\b",
"name": "support.function.aggregate.sql"
},
{
"match": "(?i)\b(cast|convert|parse|try_cast|try_convert|try_parse)\b",
"name": "support.function.conversion.sql"
}, ...
正在搜索:“名称”:“support.function
想法 - 未测试:也许可以从系统数据库中提取数据 - 资源
The Resource database is a read-only database that contains all the system objects that are included with SQL Server.
是否可以通过查询显示每个内置函数(如 LEFT、SIN、IIF 等)?
不,functions documentation 是您的最佳选择。它提供了所有受支持的 built-in 函数的结构化概述。
使用任何体面的 IDE 将为函数名称提供一些突出显示和 auto-completion 功能。
来自官方工具的文档或语法高亮定义:
Azure Data Studio - syntax support
{
"match": "(?i)\b(avg|checksum_agg|count|count_big|grouping|grouping_id|max|min|sum|stdev|stdevp|var|varp)\b",
"name": "support.function.aggregate.sql"
},
{
"match": "(?i)\b(cast|convert|parse|try_cast|try_convert|try_parse)\b",
"name": "support.function.conversion.sql"
}, ...
正在搜索:“名称”:“support.function
想法 - 未测试:也许可以从系统数据库中提取数据 - 资源
The Resource database is a read-only database that contains all the system objects that are included with SQL Server.