home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!noc.near.net!news.centerline.com!sebastian.centerline.com!user
- From: dewey@centerline.com (Devan F. Dewey)
- Newsgroups: comp.databases.oracle
- Subject: last_day vs '31-JAN-93'??
- Followup-To: comp.databases.oracle
- Date: 8 Jan 1993 17:33:52 GMT
- Organization: CenterLine Software, Inc.
- Lines: 21
- Distribution: world
- Message-ID: <dewey-080193124019@sebastian.centerline.com>
- NNTP-Posting-Host: 140.239.3.212
-
-
- If I wrote a query with a where clause:
-
- where transdate between '01-JAN-93 and '31-JAN-93'
-
- why would my results differ from:
-
- where transdate between '01-JAN-93 and last_day(sysdate)
-
-
- Any hints on how the last_day function returns the time component
- might be helpful.
-
- -Devan
-
-
- Devan F. Dewey | Senior Systems Analyst
- CenterLine Software | dewey@centerline.com
- 10 Fawcett Street | "Leme esplain - no dere is
- Cambridge, MA 02138 | too much. Leme sum up."
- -Inigo Montoya
-