postgresql数据库Coalesce函数和current_schema函数的应用
摘要:select Coalesce(Lower(current_schema()),'N/A'), current_schema()是获取当前模式名, Coalesce()当第一个参数不为null时返回第一个参数值,当第一个参数为null时返回第二个参数值。
阅读全文
posted @ 2020-12-29 14:34