在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.
每个行为都属于一种行为类型。每种行为类 ......
WinXP 下重新设置 Oracle 管理员密码
Windows 下修改 Oracle 管理员密码操作步骤。此步骤在 WinXP5.1、Oracle92 下操作成功。更改以后需要重启计算机和实例方可生效。
背景:WinXP 版本 5.1(内部版本号 2600.xpsp_sp2_dgr.07022 ......
---------------oracle 入门
打开服务器
net start oracleserviceORCL
打开监听器
lsnrctl start
关闭服务器
net stop oracleserviceORCL
关闭监听器
lsnrctl stop
-----------------------------
1.创建表
Create table 表名
(字段名 数据 ......
http://inthirties.com:90/viewthread.jsp?tid=1395
这个deterministic是不是很眼熟呀,
我们在online redefinition里见到过这个关键字,这个关键在在自定义的函数索引里也出现了。
先看看文档
DETERMINISTIC Clause
Specify DETERMINISTIC to indicate that the function returns the same
result value whenever i ......
/*
函数名称: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 ......