oracle底层字典表obj$及source$与存储过程procedure系列五
Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 Connected as scott SQL> create or replace procedure proc_non_sep 2 as 3 begin 4 &nb...
oracle底层字典表obj$及source$与存储过程procedure系列四
SQL> create or replace procedure proc_non_sep as 2 begin 3 null; 4 end; 5 / Procedure created SQL> create or replace procedure proC_non_Sep as...
oracle底层字典表obj$及source$与存储过程procedure系列三
Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 Connected as scott SQL> create or replace procedure proc_non_sep 2 as 3 begin 4 &nb...
oracle底层字典表obj$及source$与存储过程procedure系列二
Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 Connected as SYS SQL> conn scott/system@orclConnected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 ...
oracle底层字典表obj$及source$与存储过程procedure系列一
Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 Connected as scott SQL> show userUser is "scott" SQL> create or replace procedure proc_test_special 2 ...
powerdesigner生成的sql建表脚本如何去除双引号"
http://blog.163.com/liuyang_yes/blog/static/128133212201182293538433/
timestamp最大精度小记
SQL> desc t_timestamp;Name Type Nullable Default Comments ---- ------------ -------- ------- -------- A TIMESTAMP(7) Y &n...
oracle如何插入timestamp数据
SQL> select * from t_timestamp; A--------------------------------------------------------------------------------14-11月-12 10.46.24.195000 上午 SQL> show parameter time NAME&nb...
oracle 回车、换行符
http://blog.sina.com.cn/s/blog_87479ba60100xhz1.html
新旧系统更替产生的数据迁移问题
http://blog.sina.com.cn/s/blog_4b59232801000b9m.html
通过v$access查看正在运行的存储过程procedure
用v$access视图,只要执行,就会在该视图中有一条记录!手工执行了一个commit,v$access里的纪录就消失create or replace procedure plsqlconcurrencysample as/* ** copyright*//* written by chao_ping to pro...
imp之选项resumable导入及insert插入数据因空间tablespace不足暂时挂起
http://blog.sina.com.cn/s/blog_57fcf0770100n3u2.html
exp之query导出部分记录
测试exp的query选项Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 Connected as scott SQL> create table t_query(a int); Table created SQL> insert into t_query...
测试导出exp及imp选项filesize
1,测试导出exp及imp选项filesizeconn scott/system@orclcreate table t_exp_filesize(a int);insert into t_exp_filesize select level from dual connect by level<=1e7;commit;--buffer和filesize的单位是kb,还是...
如何通过rownum对表的不同范围进行批量更新update
SQL> desc t_order;Name Type Nullable Default Comments ---------- ------------- -------- ------- -------- ORDER_ID INTEGER ...
如何imp导入table表中含有lob列分属不同表空间tablespace
自一期生产迁移某个表,出错如下:IMP-00017: 由于 ORACLE 错误 959, 以下语句失败: "CREATE TABLE "PORTAL_TERM_SPEC" ("ID" VARCHAR2(32) NOT NULL ENABLE, "CODE" " "VARCHAR2(32), "MKT...
同一个用户分属不同表空间的表,然后导入到同一个用户同一个表空间tablespace是否可以
...
append插入不能多次未提交插入数据
SQL> insert /*+ append */ into t_table_1 select level from dual connect by level<=1000000; 1000000 rows inserted SQL> insert /*+ append */ into t_table_1 select level from dual conne...
oracle如何变更varchar2类型的列为clob
前言:近期迁移工作中,有些表的列数据类型太小,如下即为一例SQL> create table t_varchar2_to_clob(a varchar2(100));表已创建。SQL> insert into t_varchar2_to_clob values('zxy');已创建 1 行。SQL> co...
测试exp不同选项的对于导出速度的影响
1,scott用户 2,表:t_test_exp 3,数据量:8388608 4,常规导出:exp userid=scott/system@orcl file=c:\backup\exp_t_test_exp.dmp tables=t_test_exp&n...