在dos下 oracle exp/imp and import .sql
1.
开始-->运行-->cmd-->
.导出数据
exp help=y 查看帮助
exp rbt/rbt@ora10 file=c:\db.dmp full=y 按Enter执行
.成功执行。。。
.导入数据
imp help=y 查看帮助
imp由拥有DBA权限的用户eXP执行.
imp kxself2/kxself2@ora10 full=y file=c:\db.dmp
或
Imp username/password file=file.dmp fromuser=user1 touser=user2 full=y
其中username/password为导入到数据库的用户名和密码
fromuser为备份数据库时的用户
Touser为导入数据库的用户,一般和username
full为导入整个数据库文件(默认为n)
2。导入js脚本 .sql文件
开始-->运行-->sqlplus-->
输入用户名:janely
密码:ren
sql>@ c:\ab.sql
or
sql>start c:\ab.sql
相关文档:
Actions
Every action belongs to an action type. An action type is a collection of actions having similar functionality. For example, actions in the absolute-job-level action type all require approvals up to a certain job level in the HR supervisory hierarchy.
每个行为都属于一种行为类型。每种行为类 ......
1.基本结构
CREATE OR REPLACE PROCEDURE 存储过程名字
(
参数1 IN NUMBER,
参数2 IN NUMBER
) IS
变量1 INTEGER :=0;
变量2 DATE;
BEGIN
END 存储过程名字
2.SELECT INTO STATEMENT
将select查询的结果存入到变量中,可以同时将多个列存储多个变量中,必须有 ......
/*
函数名称:oracle 字符按位或函数
参数约束:p1与p2的长度必须一致
*/
create or replace function F_BITOR(p1 in string, p2 in string) return varchar2 is
Result varchar2(16);
t_p number(3);
r_p varchar2(16);
p_p number(3);
c_1 char(1);
c_2 char(1);
beg ......