Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> How to transfer year, week, day to date

How to transfer year, week, day to date

From: Marcel Raap <mraap_at_yahoo.com>
Date: 10 Jun 2002 04:45:46 -0700
Message-ID: <95eb55e.0206100345.3771bfd6@posting.google.com>


Hi,

I need a SQL-statement (or PLS/SQL function) that accepts a year, a week number and a day number as input and returns a date.

I thought of doing it like this:

select to_date('1-24-2002', 'D-WW-YYYY') from dual;

but for some reason this is not allowed in SQL*Plus.

Anyone suggestions???

Thanks!

Marcel. Received on Mon Jun 10 2002 - 06:45:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US