일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- WebLogic
- appspresso
- phonegap
- iBATIS
- jsr 296
- 전자정부프레임워크
- GPS
- MFC
- Google Map
- node.js
- JSON
- oracle
- Android
- rowspan
- Ajax
- PHP
- Spring
- tomcat
- 선택적조인
- swingx
- sencha touch
- MySQL
- Eclipse
- dock
- Struts
- ibsheet
- 가우스
- jQuery
- JDOM
- PLSQL
Archives
- Today
- Total
Where The Streets Have No Name
OVERLAP Function 본문
SQL*Plus: Release 10.2.0.1.0 - Production on On Dec 13 23:36:15 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> select 'yes' from dual where (sysdate-5,sysdate) overlaps (sysdate-2,sysdate-1);
'YE
---
yes
SQL> select 'yes' from dual where (-5,0) overlaps (-2,-1);
select 'yes' from dual where (-5,0) overlaps (-2,-1)
*
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected DATE got NUMBER
참고 : http://forums.oracle.com/forums/thread.jspa?messageID=2307541
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> select 'yes' from dual where (sysdate-5,sysdate) overlaps (sysdate-2,sysdate-1);
'YE
---
yes
SQL> select 'yes' from dual where (-5,0) overlaps (-2,-1);
select 'yes' from dual where (-5,0) overlaps (-2,-1)
*
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected DATE got NUMBER
참고 : http://forums.oracle.com/forums/thread.jspa?messageID=2307541