码迷,mamicode.com
首页 >  
搜索关键字:oracle 统计信息    ( 41681个结果
oracle 中,日期和数字字符串的格式化
select SYSDATE from dual t;--系统日期 select TO_CHAR(SYSDATE,'YYYY/MM/DD HH24:MI:SS') from dual t;--格式化日期 select TO_DATE('20140630 18:28:20','YYYY/MM/DD HH24:MI:SS') from dual t;--格式化日期 select sysdate,...
分类:数据库   时间:2014-07-01 10:49:03    阅读次数:506
oracle dual表
dual是个虚表,其只有一列。 当查询时间或者日期这些对象的时候就需要使用这个表。 例如: select sysdate from dual; 因为在oracle当中,查询语句必须要有关键字 select ....from tablename; 只有样语句才完整的。要是没有表名就无法查询。而时间日期等不存于任何表中,这时候时候就引入了dual 虚表概念。...
分类:数据库   时间:2014-07-01 08:58:10    阅读次数:240
Oracle连接出错(一)
1、错误描述 java.sql.SQLException: ORA-0064:error occurred at recursive SQL level 1. ORA-06153:unable to extend table SYS.AUD$ by 8192 in tablespace SYSTEM. ORA-02002:error while writing to audit trail. O...
分类:数据库   时间:2014-07-01 08:01:47    阅读次数:463
把字符串按照分割符分解成不同的部分
select regexp_substr('A,B,C,D,E', '[^,]+', 1, level, 'i') as str   from dual connect by level            length('A,B,C,D,E') - length(regexp_replace('A,B,C,D,E', ',', '')) + 1;...
分类:其他好文   时间:2014-07-01 07:38:06    阅读次数:217
oracle 10g运维手册
1.    检查数据库基本状况... 4 1.1.     检查Oracle实例状态... 4 1.2.     检查Oracle服务进程... 4 1.3.     检查Oracle监听状态... 5 2.    检查系统和oracle日志文件... 6 2.1.     检查操作系统日志文件... 6 2.2.     检查oracle日志文件... 6...
分类:数据库   时间:2014-07-01 07:04:09    阅读次数:432
not exists 事例
今天一个开发问到一个not exists问题,小小做个实验 实验1 SQL> select * from emp e1 where not exists (select 1 from emp e2 where e1.mgr = e2.empno);      EMPNO ENAME      JOB              MGR HIREDATE                 ...
分类:其他好文   时间:2014-07-01 06:59:39    阅读次数:164
JSP与oracle数据库交互案例
本案例为咖啡销售情况录入查询系统 一、数据输入系统: 1.  设计输入信息页面 代码如下:               咖啡管理系统——录入系统           欢迎来到录入系统                   咖啡名称: 供应商ID: 商品价格: 销售量: 总量:                  2. 设计处理or...
分类:数据库   时间:2014-07-01 06:24:02    阅读次数:301
Oracle创建Physical Standby Database案例
Creating a Physical Standby Database This case is created, operated and followed the steps from oracle online help documentation.  The configuration of the two sites server: Primary Database: [roo...
分类:数据库   时间:2014-07-01 06:22:46    阅读次数:415
Oracle并行查询出错
1、错误描述 ORA-12801: 并行查询服务器P007中发出错误信号 ORA-01722:无效数字 12801.00000 -"error signaled in parallel query server %s" *Cause: A parallel query server reached an exception condition. *Action: Check the follow...
分类:数据库   时间:2014-07-01 06:22:10    阅读次数:391
ORACLE错误1033出现和ORA-00600错误解决办法
ORACLE错误1033出现和ORA-00600错误解决办法...
分类:数据库   时间:2014-07-01 06:10:24    阅读次数:266
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!