-
select entries from whole week
Hello,
I'd like to get all entries from "the whole week" (begin: Monday end: Sunday)
from e.g the day sysdate - 222 (today: 20.10.2004) .This means all entries with a date between 08.03.2004
and 14.03.2004 (including the borders !)
-
Use the next_day function. ie
SELECT trunc(next_day(SYSDATE - 7,'MONDAY')), trunc(next_day(SYSDATE,'SUNDAY')) FROM dual
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|