select ifnull(null,'replaces the null')
-->replaces the null
select coalesce(null,null,'replaces the null')
-->replaces the null
Run Code Online (Sandbox Code Playgroud)
在这两个条款中,主要区别在于论证传递.对于ifnull它的两个参数和合并2或3我们可以通过,除了这两个之间我们有任何其他区别吗?它在MSSql中有何不同.