Jas Ahuja
Home
About
Blog
Home
Blog
The
NULLIF
function in T-SQL returns
NULL
if two expressions are equal; otherwise, it returns the first expression.
This is often used to prevent divide-by-zero…
Use NULLIF to avoid divide by zero error in T-SQL
The
NULLIF
function in T-SQL returns
NULL
if two expressions are equal; otherwise, it returns the first expression.
This is often used to prevent divide-by-zero errors or to…
Sep 2, 2025
Jas Ahuja
1. Two Sum
link to leetcode
Aug 1, 2025
Jas Ahuja
No matching items