Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting Date field to text

Status
Not open for further replies.

matpj

Technical User
Mar 28, 2001
687
GB
I have a table with about 6 fields, one of which is a date/tie field.

All fields in this table are updated by a lotus notes agent from a Notes database.

I need to add another step to the process to then convert the date field to a text field.

Can anyone suggest how I may do this?
It would have to be a script of some description that I could schedule to run after the Notes-Oracle update.

thanks in advance,


Matt
London (UK)
 
update MyTable set MyTextCopy = to_char(theDateField, 'DDDD-MM-YYYY HH:MI:SS');

or am I missing something?



Mark [openup]
 
that seems to simple.
I'm always trying to find very difficult was to solve problems... :)
thanks for that, i'll give it a go...


Matt
London (UK)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top