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

ORACLE查询或删除时指定使用索引的写法­

 查询时可以指定使用索引的写法。­
­
SELECT   /*+ index(TB_ALIAS IX_G_COST3) */­
  TB_ALIAS.*­
  from g_Cost TB_ALIAS­
WHERE Item_Two = 0­
   AND Flight_Date >= To_Date('20061201', 'YYYYMMDD')­
   AND Flight_Date <= To_Date('20061231', 'YYYYMMDD');­
­
删除时也可以指定使用索引的写法。­
­
DELETE   /*+ index(TB_ALIAS IX_G_COST1) */­
  from g_Cost TB_ALIAS­
WHERE ITEM_NAME = '小时费';­
­
IX_G_COST1,IX_G_COST3都是表G_COST的索引。


相关文档:

oracle基础入门教材

 
建表
create table <table_name>(
column_name1 column_type [not null] [check (expression)]
    [default value] [primary key][references <table_name>(column_name)],
column_name2 column_type [not null] [check (expression)]
    [default value] [prima ......

Oracle自代的线程池

第一个类:
/**
 *
 * 存放oracle数据库的链接信息。
 *
 * @author ZhongHuiQiang
 *
 */
public interface IOracleDAOInfor {
 String DB_SERVER_HOSET = "localhost";
 String DB_SERVER_NAME = "ppoo";
 String DB_USER_NAME = "system";
 String DB ......

在linux上silent安装oracle简直是一场噩梦

 Parsing command line arguments:
    Parameter "silent" = true
java.lang.ArrayIndexOutOfBoundsException: 2
        at oracle.net.ca.CmdlineArgs.parseArgs(Unknown Source)
        at oracle.net.ca.I ......

oracle RAC 底层进程介绍

 1.GSD global services daemon 
oracle官方文档的描述 
The Global Services Daemon (GSD) runs on each node with one GSD process per node. The GSD coordinates with the cluster manager to receive requests from clients such as the DBCA, EM, and the SRVCTL utility to execute administrative ......

ORACLE查询出表中的字段列表

 SELECT max(SYS_CONNECT_BY_PATH(COLUMN_NAME, ','))
  from (SELECT A.COLUMN_NAME, ROWNUM AS ROWNO
          from USER_TAB_COLUMNS A
         WHERE TABLE_NAME = 'A_USER'
     ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号