ansi sql 规定用+连接列时产生NULL,这时,可以将选项contact_null_yeilds_null的会话选项设置为off.

编程时,可添加如下语句。

set  contact_null_yeilds_null off.