Sql

Asked • 02/19/23

Will COALESCE() & ISNULL() always return the same result when 2 parameters are supplied?

If @s is of type VARCHAR(2) with NULL assigned to it, will COALESCE (@s, 'there') and ISNULL (@s, 'there') return the same result?

1 Expert Answer

By:

Xiaohong L. answered • 02/19/23

Tutor
5 (50)

25 Years of Experience in Database Design / SQL / ETL / Reporting

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.