摘要:1、控制文件:load datainfile 'data.txt'append into table CustBasicInfoFields terminated by ','(CustId "'ZJYDTZ'||:CustId", CustTel,field1 Filler,field2 Fill...
        阅读全文
        | 随笔分类 - 数据库之Oracle
Oracle积累
 
摘要:1、控制文件:load datainfile 'data.txt'append into table CustBasicInfoFields terminated by ','(CustId "'ZJYDTZ'||:CustId", CustTel,field1 Filler,field2 Fill...
        阅读全文
 
摘要:SQLLDR用于快速的批量导入数据,示例步骤如下:1、确定Oracle的连接示例 username/password@sid 我使用的是:system/world@localorcl sid是连接的示例,也就是net manager中的服务命名,示意图如下: 2、创建表,语句如下:CREAT...
        阅读全文
 
摘要:JOBdeclare jobno number;begin dbms_job.submit( jobno, 'insert into tmptable1 values(1,1);', to_date('2013-07-09 12:00:00','yyyy-mm-dd HH24:mi:ss'),...
        阅读全文
 
摘要:SQL 语句优化: 1、union 为Bak的 分开写Where语句,Where后再union 2、union 换为union all 3、Select * 换成具体字段 3、有参数的,用参数列表,AnsiString对应的char,varchar,string对应的nchar,nvarcha...
        阅读全文
 
摘要:多个事务同事操作数据库,报错:Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
        阅读全文
 
 |