I need to convert a varchar
to date
so that I can filter all dates longer than a certain date, for example:
I want all dates that are greater than November 2018 to be listed, I'm doing it as follows:
DATA_FINAL > TO_DATE('10/11/2018', 'MM/DD/YYYY')
But the error is always returned to me:
ORA-01843: not a valid month
What should I do? Thank you in advance.
Result of SUBSTR
:
1 09
2 08
3 04
4 26
5 28
6 07
7 17
8 13
9 11
10 12
11 01
12 18
13 21
14 16
15 31
16 20
17 22
18 29
19 19
20 25
21 02
22 05
23 03
24 10
25 15
26 14
27 27
28 06
29 24
30 30
31 23