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

ORACLE 去除重复记录

      delete from tbl_talbe
      where (col1,col2,col3) in
     (select col1,col2,col3
       from tbl_table
       group by col1,col2,col3
       having count(*)>1)
     and rowid not in
     (
        select max(rowid)
        from tbl_table
        group by col1,col2,col3
        having count(*) >1
     )
    


相关文档:

【转】 Oracle学习:分区表和索引

Oracle学习:分区表和索引
http://tech.it168.com/a2009/0609/585/000000585998.shtml
什么时候使用分区:
  1、 大数据量的表,比如大于2GB。一方面2GB文件对于32位os是一个上限,另外备份时间长。
  2、 包括历史数据的表,比如最新的数据放入到最新的分区中。典型的例子:历史表,只有当前月份的数据可以被修改, ......

21本Oracle 电子书


Oracle Database 11g A Beginner's Guide

Oracle Database 11g SQL

Oracle Database 11g SQL: Tuning Work Shop

Oracle Database 11g SQL: Tuning Work Shop Practices and Solutions

Oracle Essentials: Oracle D ......

ORACLE SQL优化 ORACLE执行计划

Last login: Mon Feb  8 14:13:19 2010 from 192.168.1.249
ipnet
-bash-3.00$
-bash-3.00$ ipnet
-bash: ipnet: command not found
-bash-3.00$ su - oracle
Password:
eastcsu: incorrect password
-bash-3.00$ eastcom
-bash: eastcom: command not found
-bash-3.00$ su - oracle
Password:
[oracl ......

oracle数据库时常用的操作命令

1、su – oracle 不是必需,适合于没有DBA密码时使用,可以不用密码来进入sqlplus界面。
2、sqlplus /nolog 或sqlplus system/manager 或./sqlplus system/manager@ora9i;
3、SQL>connect / as sysdba ;(as sysoper)或
connect internal/oracle AS SYSDBA ;(scott/tiger)
conn sys/change_on_install as sysd ......

oracle在线文档地址

为防忘记,记录于下:
oracle 11gR2 : http://www.oracle.com/pls/db112/homepage,下载网址http://www.oracle.com/technology/documentation/database.html
oracle 11gR1 : http://www.oracle.com/pls/db111/homepage
oracle 10gR2 : http://www.oracle.com/pls/db102/homepage ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号