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: SQL Concatenation

Re: SQL Concatenation

From: Alan Shein <alanshein_at_erols.com>
Date: Tue, 21 Sep 1999 13:42:36 -0400
Message-ID: <7s8fvb$lh3$1@winter.news.rcn.net>


>>

I want to give the field a new MMDDYYYY while keeping the same hour and minute (HH24MI) from the date.
<<
When you set the value use to_date()

example:

UPDATE your.table SET your.date_field= TO_DATE('09/21/1999','MM/DD/YYYY')

It takes the first parameter (a text string) and converts it to a date. It uses the second argument to determine how to read/parse the text string. Received on Tue Sep 21 1999 - 12:42:36 CDT

Original text of this message

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