Friday, October 2, 2015

Use COALESCE in T-SQL to have a fall over to value should an assignment be null.

SELECT @foo=COALESCE(@bar, 'baz')

No comments:

Post a Comment