The NULLIF() function returns NULL if two expressions are equal, otherwise it returns the first expression.
NULLIF(
expr1,
expr2)
Parameter | Description |
---|---|
expr1, expr2 | Required. The two expressions to be compared |
Works in: | SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse |
---|
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!