Answers for "sql stored procedure update if parameter is not null"

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 "sql stored procedure update if parameter is not null"

Code answers related to "SQL"

Browse Popular Code Answers by Language