SELECT IFNULL(NULL, 'Replaces the NULL')
--> Replaces the NULL
SELECT COALESCE(NULL, NULL, 'Replaces the NULL')
--> Replaces the NULL
In both clauses the main difference is argument passing. For IFNULL
it's two parameters and for COALESCE
it's multiple parameters. So except that, do we have any other difference between these two?
And how it differs in MS SQL?