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