Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- SQL
- 문자열
- vb
- MFC
- 델파이
- 초보
- 시리얼 통신
- Visual Basic
- 인스톨
- 셋업
- c#
- xml
- WIN32 SDK
- Visual Studio 2005
- 예제
- PostgreSQL
- 설치
- VB.NET
- 소니
- winsock
- 기초
- 입문
- dll
- 데이터베이스
- Delphi
- 파이어버드
- Firebird
- SDK
- 파라미터
- MySQL
Archives
- Today
- Total
프로그래밍 노트
Firebird의 Timestamp에서 특정 년이나 월이나 일만을 검색하는 방법 본문
Firebird의 Timestamp에서 특정 년월일만을 검색하는 방법
extract를 사용하면 TIMESTAMP형 필드에서 년,월,일에 대해 검색하기가 쉬워진다.
select * from testLOG
where
extract(year from logStamp) > 2007 and
extract(month from logStamp) = 1 and
extract(day from logStamp) < 10 and
where
extract(year from logStamp) > 2007 and
extract(month from logStamp) = 1 and
extract(day from logStamp) < 10 and
extract를 사용하면 TIMESTAMP형 필드에서 년,월,일에 대해 검색하기가 쉬워진다.
Comments