M
M
MacJei2018-12-25 12:49:53
Oracle
MacJei, 2018-12-25 12:49:53

A function that converts a text field to a date?

Please help me write a function in PL/SQL.
There is a BIRTHDAY field, it is text. It is necessary to carry out a check and bring to a general view, if possible.
Required format: DD.MM.YYYY

BIRTHDAY
-------------
1997-04-14
00.00.00
30.11.1961
1988-10-30T00:00:00:000
20.11.1982
1986-06-05

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Tsvetkov, 2018-12-25
@MacJei

For each type of string, you need to set your own format in TO_DATE .
Found an implementation example: convert a string to a date .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question