首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

一些小疑点处理

2012-06-27 
一些小问题处理1.数据库导入与导出?exp sysman/dbapwd@orcl filed:\wind\sai.dmp fully当使用?imp sysma

一些小问题处理

1.数据库导入与导出?

exp sysman/dbapwd@orcl file=d:\wind\sai.dmp full=y
当使用?imp sysman/dbapwd@sai file=d:\sai.dmp这个导入时报一下异常:
?IMP-00031: 必须指定 FULL=Y 或提供 FROMUSER/TOUSER 或 TABLES 参数

处理方法?imp sysman/dbapwd@sai full=y file=d:\sai.dmp

2.case判断是否为null的写法

declare
o_para2 varchar2(20);
i_order_para2 varchar2(20):=null;
????????
begin
o_para2:=
?????????? case??
??????? when? i_order_para2 is null then '1'
???????? when i_order_para2 = '0' then '1'
???????? when i_order_para2 = '1' then '1'
???????? when i_order_para2 =? '2' then '4'
???????? when i_order_para2 =? '4'? then '4'
???????? else '5'
???????? end;
end;

3.js转数字的方法parseInt()和parseFloat()两个转换函数
4.js判断是否为null的方法,if(keyVal.length==0)

热点排行