Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am trying to extract a date from a String. Unfortunatle the Date format differs.
Any Suggestions?
Much obliged
Where is your date coming from?
regexp_like for Oracle / patindex for sql server
Please share the text data. a screenshot is not helpful!
It would help to see the source table. You can use YEAR(TODAY()) to patch the missing year but it would be more reliable to patch the year from the timestamp from the date it was entered.
The data is coming from our source system which is an AS400.
Please find attached an extract in excel
You can use the keep char to remove all the text and keep only the numbers. The next step will be to use alt function to format date into one format.