2014年11月9日
摘要: insert first when deptno=10 then into dept01(id) values(deptno) when deptno=20 then into dept02(id) values(deptno) else into d... 阅读全文
posted @ 2014-11-09 18:07 相约future 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 提示密码过期错误:ORA-28001: the password has expired查询默认的profile的密码过期的设置select * from dba_profileswhere profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIM... 阅读全文
posted @ 2014-11-09 18:01 相约future 阅读(238) 评论(0) 推荐(0) 编辑
摘要: --分区表,范围分区create table achievement(id number primary key,name varchar2(10),subject varchar2(10),score number)partition by range(score)( partition part... 阅读全文
posted @ 2014-11-09 17:58 相约future 阅读(803) 评论(0) 推荐(0) 编辑
摘要: --创建表create table t1(id number primary key,name varchar2(10),score number,subject varchar(10))--创建控制文件 t1.ctl,以文本的形式保存为ctl 格式的,放在所在目录下load datainfile ... 阅读全文
posted @ 2014-11-09 17:57 相约future 阅读(462) 评论(0) 推荐(0) 编辑
摘要: 方法1、通过rowid select * from db.tbfp03 t1 where t1.rowid>(select min(t2.rowid) from db.tbfp03 t2 where t1.compid = t2.compid and t1.applyno = t2.applyno)... 阅读全文
posted @ 2014-11-09 17:53 相约future 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Begin sys.dbms_job.isubmit(job => 301, --任务编号 what => 'create_table;', --存储过程名字 next_date => to_date('2014-... 阅读全文
posted @ 2014-11-09 17:51 相约future 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 存储过程动态创建表,以时间给表命名create or replace procedure create_tableas v_sql varchar2(2000);begin v_sql:='create table ' || upper('tablename')|| replace(to_char(... 阅读全文
posted @ 2014-11-09 17:49 相约future 阅读(1703) 评论(0) 推荐(0) 编辑
摘要: 非正常Oracle配置:SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (PROGRAM = extproc) (SID_NAME = PLSExtProc) (ORACLE_HOME = E:\Server\oracle\product\10.2.0\db_... 阅读全文
posted @ 2014-11-09 17:43 相约future 阅读(116) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2014-11-09 17:33 相约future 阅读(12) 评论(0) 推荐(0) 编辑