Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1693452
  • 博文数量: 136
  • 博客积分: 10021
  • 博客等级: 上将
  • 技术积分: 3261
  • 用 户 组: 普通用户
  • 注册时间: 2007-01-22 11:26
文章分类

全部博文(136)

文章存档

2010年(1)

2009年(26)

2008年(109)

我的朋友

分类: Oracle

2009-03-30 22:28:24

1. SQL谓词中的between ... and ... 是包括边界的,下面是个小测试:
 
SQL> select *
  2    from (select rownum rn from dba_objects where rownum < 6)
  3   where rn between 2 and 4;
 
        RN
----------
         2
         3
         4
 
2. unix下查找Oracle错误:
 
[dwapp@dbrac1 ~]$ oerr ora 30004
30004, 00000, "when using SYS_CONNECT_BY_PATH function, cannot have seperator as part of column value"
// *Cause:
// *Action: Use another seperator which does not occur in any column value, 
//          then retry.
 
 
阅读(1919) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~