I have an existing table that have a column date but varchar datatype and also a date datetime datatype
example:
tbl_name: trx1
columns: trx_id, activity, name, date(datetime)
index: date_of_birth
tbl_name: trx2
columns: trx_id, activity, name, date(varchar)
index: date_of_birth
is it ok to index date as varchar on trx2 and get the same expectation as trx1? OR
The best thing to do is to change the datatype to datetime also
Any comment or suggestion would be a great help TIA!