易截截图软件、单文件、免安装、纯绿色、仅160KB

oracle游标

drop table tmp_lzw_3283_tar;
create table tmp_lzw_3283_tar
(
    servnumber varchar2(11)
)
;
load data
infile 'tar_3283.txt'
insert into table tmp_lzw_3283_tar
fields terminated by '|'
(
servnumber
)
/*
select count(*),count(distinct servnumber) from tmp_lzw_3283_tar;
  COUNT(*) COUNT(DISTINCTSERVNUMBER)
---------- -------------------------
       263                       254
*/
---关联用户表
----取全品牌用户品牌数据         
drop table tmp_lzw_3278_tmp_tb0 purge;                                                              
create table tmp_lzw_3278_tmp_tb0 nologging as                                                                       
select /*+ parallel(c,16) */                                                                       &


相关文档:

Oracle 9i性能调整


Oracle 9i性能调整
/* *
作者:欧朝敬
QQ:35712069
手机:13873195792
请转载者不要更改原版内容
 */
1、设置合适的SGA
  常常有人抱怨服务器硬件很好,但是Oracle就是很慢。很可能是内存分配不合理造成的。
  (1)假设内存有512M,这通常是小型应用。建议Oracle的SGA大约240M,其中:共享池(SHARED_POOL ......

Oracle字符串长度的问题

    今天碰到一个问题,通过一个SQL语句查询时,出如下问题:
       ORA-06502: PL/SQL: numeric or value error: character string buffer too small
       ORA-06512: at "WMSYS.WM_CONCAT_IMPL", line 30
 问题出现在通过WMSYS. ......

oracle 10g客户端导出11g用户的完整数据

     为了做虚拟机,需要将服务器上的11g的用户的完整数据导出来。而虚拟机上的oracle10g的,直接导出来,无法导入到虚拟机。
所以,试着用10g的客户端来导出数据,
用命令:exp exoa/*****@exoa1 file=20100526.dmp grants=y full=y
执行后,系统提示:
  EXP-00008:遇到 ORACLE错误1406
&nb ......

Oracle多行记录合并/连接/聚合字符串的几种方法

什么是合并多行字符串(连接字符串)呢,例如:
SQL> desc test;
Name     Type          Nullable Default Comments
------- ------------ -------- ------- --------
COUNTRY VARCHAR2(20) Y       &nb ......

oracle调用java

create or replace and compile java source named md5util as
import java.security.MessageDigest;
public class MD5Util
{
  public static String encrypt(String s)
  {
       char hexDigits[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号