Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to merge 3 fields into 1 field as a Date?

482108Jan 11 2006 — edited Jan 12 2006
Hello All,
The company I work for has an old table data file (SQL table) with 3 seperate field/columns which are 'Day', 'Month', and 'Year' in Alphanumeric type.
Now we want to convert these 3 fields into 1 date field, could anybody help and tell me how to merge them? Thanks in advance!

I just know Excel has the concatenate function to merge things, but because our file is too large, can't use Excel, and have to use SQL table.
Then I have no idea how to use SQL commands to merge fields.

What I want is:
Day Month Year ---> Date
15 04 2002 ----> 15/04/2002

Thank you very much!
Henry
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 9 2006
Added on Jan 11 2006
11 comments
5,442 views