Answers for "how to check parameter is not null in sql stored procedure"

SQL
0

sql stored procedure update if parameter is not null

Update [Users]
set    FirstName = IsNull(@FirstName, FirstName),
	   -- If you want to check for empty strings as well
       City = ISNULL(NULLIF(@City, ''), City),
       ....
Where  ...
Posted by: Guest on September-10-2021

Code answers related to "how to check parameter is not null in sql stored procedure"

Code answers related to "SQL"

Browse Popular Code Answers by Language