1、命令行参数 比如:exp scott/tiger@orcl tables=emp file=D:\test.dmp 2、交互提示符 比如:C:\Users\Administrator>exp + 回车 输入用户名,回车 输入密码,回车 回车 输入导出的路径 回车 回车... 3、参数文件 新建一 ...
分类:
数据库 时间:
2018-07-07 22:32:54
阅读次数:
239
imp help=y导入自己的表:exp scott/tiger@orcl tables=(student, address) file=D:\scott_stu_add.dmp log=D:\scott_stu_add.logimp scott/tiger@orcl file=D:\scott_s ...
分类:
数据库 时间:
2018-07-07 22:29:55
阅读次数:
171
oracle中scott用户默认是关闭的,如果我们想使用scott用户就需要手动设置。 Linux环境下oracle的scott演示模式所在目录: $ORACLE_HOME/rdbms/admin/utlsampl.sql 添加步骤: 1:以SYS用户登入系统 sqlplus /nolog conn ...
分类:
数据库 时间:
2018-07-01 20:55:33
阅读次数:
144
[20180604]在内存修改数据(bbed).txt--//以前曾经做过在内存修改数据,通过oradebug poke命令修改内存信息,相关链接:--//http://blog.itpub.net/267265/viewspace-2124466/=>[20160904]在内存修改数据.txt-- ...
分类:
其他好文 时间:
2018-06-30 22:57:27
阅读次数:
159
[20180627]测试bbed是否支持管道命令.txt--//测试bbed是否支持管道命令.txt1.环境:SCOTT@test01p> @ ver1PORT_STRING VERSION BANNER CON_ID IBMPC/WIN_NT64-9.1.0 12.1.0.1.0 Oracle D ...
分类:
其他好文 时间:
2018-06-30 22:56:41
阅读次数:
213
1.1oracle安装省略 2.1sql*plus连接数据库 进入dos界面输入“c:\sqlplus /nolog” SQL>conn system/orcl@orclDB SQL>select * from scott.emp; 连接指定数据库:sqlplus username/password ...
分类:
数据库 时间:
2018-06-30 13:00:05
阅读次数:
192
1. 自定义 ref cursor 和 sys_refcursor; 2. sys_refcursor 做为参数传递结果集; 3. ref cursor 做为参数传递结果集; 1. 自定义 ref cursor 和 sys_refcursor: sys_refcursor 不需要声明可以直接使用: ...
分类:
数据库 时间:
2018-06-25 20:36:04
阅读次数:
263
举个栗子: select * from SCOTT.emp WHERE EMPNO=7369; 方式一:F5,解释计划窗口,查看索引名是否被用 方式二: 1.执行sql语句 select * from SCOTT.emp WHERE EMPNO=7369; 2.将表的索引pk_emp纳入监控 alt ...
分类:
其他好文 时间:
2018-06-23 14:31:41
阅读次数:
267
the account is locked错误(oracle) 1、原因:配置文件中的数据库链接密码设置错误,导致多次访问数据库之后,数据库用户锁死。 2、用system用户登录后执行“alter user scott account unlock” ...
分类:
数据库 时间:
2018-06-20 14:26:12
阅读次数:
200