The question becomes even more difficult:
The field data_cadastro
is like varchar , I have several tables and each one has a different type of date, for example:
in a table there is:
- 2015-12-01;
in the other:
- 12/07/2015;
and in another:
- 05-14-2015
etc ...
Is there any way to return if this date is of type yyyy-mm-dd, dd-mm-yyyy, dd / mm / yyyy and vice versa?