随笔分类 - Oracle
摘要:Oracle索引(代价:Insert、Update/1.2倍表硬盘和内存空间保存索引)一、概述索引是用于加速数据存取数据对象,合理的使用索引可以大大降低I/O次数,从而提高数据访问性能。索引有很多种我们主要介绍常用的几种。二、创建索引1、单列索引单列索引是基于单个列所建立的索引。sql>create...
阅读全文
摘要:一 Insert ------Add new row1. insert into departments(department_id,departments_name,manager_id,location_id) values(10086,'winit','jinyang',10000)2.Unconditional insert all insert ALL into sal_history values(EMPID,HIREDATE,SAL) into mgr_history values(EMPID,MGR,SAL) select employee_id
阅读全文
摘要:ORACLE日期时间函数大全ORACLE日期时间函数大全 TO_DATE格式(以时间:2007-11-02 13:45:25为例) Year: yy two digits 两位年 显示值:07 yyy three digits 三位年 显示值:007 yyyy four digits 四位年 显示值:2007 Month: mm number 两位月 显示值:11 mon abbreviated 字符集表示 显示值:11月,若是英文版,显示nov month spelled out 字符集表示 显示值:11月,若是英文版,显示november Day: dd number 当月第几天 显示值:
阅读全文
摘要:由于把oracle 11g 全部装在机器上,导致机器太卡,于是卸载oracle 装上客户端,果然 效果明显。首先要去官网上下载oracle 11客户端,(我用的是64位系统)地址:http://www.oracle.com/technetwork/database/features/instant-...
阅读全文

浙公网安备 33010602011771号