Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Week numbers and days
On Mon, 10 Feb 2003 09:09:47 -0800, DA Morgan
<damorgan_at_exesolutions.com> wrote:
>A table? A bit of a maintenance nightmare. Why not just:
>
>SELECT TO_NUMBER(TO_CHAR(SYSDATE, 'D') FROM dual;
A suitable table might be a one-time load, and it can answer all kinds of temporal questions besides just this one.
-- Mike Sherrill Information Management SystemsReceived on Mon Feb 17 2003 - 13:30:22 CST