일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- iBATIS
- rowspan
- Android
- Eclipse
- oracle
- node.js
- jQuery
- Google Map
- tomcat
- Struts
- phonegap
- swingx
- 전자정부프레임워크
- sencha touch
- JDOM
- ibsheet
- Ajax
- 가우스
- MFC
- appspresso
- WebLogic
- jsr 296
- dock
- MySQL
- PLSQL
- 선택적조인
- PHP
- Spring
- GPS
- JSON
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