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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Problem with a date in the query !! (small example)

Re: Problem with a date in the query !! (small example)

From: Oliver Stratmann <stratmo_at_anonymous.de>
Date: Tue, 27 Dec 2005 11:43:51 +0100
Message-ID: <41ck25F1dk9jiU1@individual.net>


Hi Gab!

A small Example for you!
I hope it helps.

<SQL>
-- creating "some" Dates

CREATE OR REPLACE VIEW dat_test_vw
AS
SELECT TO_DATE (20040101,'yyyymmdd') + id datum FROM (

          SELECT LEVEL id
          FROM  dual a
          where 1=1
          CONNECT BY LEVEL <= 10000
       );


Merry Christmas and a happy new Year!

Bye!
Oli Received on Tue Dec 27 2005 - 04:43:51 CST

Original text of this message

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