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 | 29 | 30 | 31 |
Tags
- 데이터베이스
- SDK
- winsock
- vb
- MySQL
- Delphi
- 기초
- 파라미터
- 입문
- SQL
- 초보
- Visual Studio 2005
- WIN32 SDK
- PostgreSQL
- Firebird
- 소니
- 예제
- 파이어버드
- 설치
- Visual Basic
- MFC
- 문자열
- 델파이
- VB.NET
- dll
- 시리얼 통신
- xml
- 인스톨
- c#
- 셋업
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