SQL 常用函数?1. 判断是否为空Oracle中nvl()的用法:???nvl(exp1,exp2) ? ? ? 如果exp1不为空,返回exp1,否
SQL 常用函数
?
1. 判断是否为空
Oracle中
nvl()的用法:???
nvl(exp1,exp2) ? ? ? 如果exp1不为空,返回exp1,否则返回exp2
?
SQL Server中
isnull(exp1,exp2)???如果exp1为空,返回exp2,否则返回exp1
SQL 常用函数
?
1. 判断是否为空
Oracle中
nvl()的用法:???
nvl(exp1,exp2) ? ? ? 如果exp1不为空,返回exp1,否则返回exp2
?
SQL Server中
isnull(exp1,exp2)???如果exp1为空,返回exp2,否则返回exp1