I am new to Oracle DB and have a situation in hand.
I have two tables.
Table1 [ ID, MY_DATE ]
Table2 [ ID, MY_TIMESTAMP]
I need to pick the month
alone from Table1.MY_DATE
and replace the corresponding month at Table2.MY_TIMESTAMP
.
Both Table1 and Table2 are joined by ID.
How do I pick the month alone from a Date column and replace month alone in a TimeStamp field.
Can anyone please help?