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 -> Re: TimeStamps

Re: TimeStamps

From: <ennaadu_at_my-deja.com>
Date: Wed, 23 Jun 1999 05:02:29 GMT
Message-ID: <7kppp1$t6l$1@nnrp1.deja.com>


In article <37703B93.9FAE1DC4_at_home.com>,   MLQ <mlq_at_home.com> wrote:
> I need to display date and time in a column in my D/B. Is
> there such a type in Oracle and can I Display them together
> in the same column. Ie. dd/mm/yy hh:mm:ss (Or something
> similar).
>
> Thanks
>

you may try this.. define the column to be of type DATE. If u want to use the current time of the system, then just assign sysdate to that colunm. During display, u can say to_char(col_name,'dd/mm/yy hh24:mi:ss').

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Wed Jun 23 1999 - 00:02:29 CDT

Original text of this message

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