oracle 函数

1.  NVL(x,value)
如果x为空,返回value,否则返回x
2.  NVL2(x,value1,value2)
如果x非空,返回value1,否则返回value2

创建同义词 create synonym 名称 for 对象

create synonym toemp for scott.emp;  --创建名为toemp的同义词指向  scott用户下的emp表。

原文地址:https://www.cnblogs.com/lishuangjiang/p/3252490.html