sql_keywords
function
Applies to: Databricks SQL Databricks Runtime 13.3 LTS and above
Returns the set of SQL keywords in Azure Databricks.
Syntax
sql_keywords()
Arguments
This function takes no arguments.
Returns
A set of rows composed of two columns:
keyword STRING NOT NULL
: The name of the SQL keywordreserved BOOLEAN NOT NULL
:true
if the keyword is reserved.
Keywords in Azure Databricks are only reserved under certain conditions. See ANSI compliance in Databricks Runtime for more details.
Examples
> SELECT keyword, reserved FROM sql_keywords() ORDER BY keyword LIMIT 2;
ACTION false
ADD false