Hello,
Does anyone know how to get the field with the longest value in it, via mysql?
i.e. if I have the following:
1 - 1234
2 - 123
3 - 43242
4 - 2342342
5 - 21
6 - 4334
To run a query that returns the fourth record and preferably the length.
The idea behind this is to display each table/field name and max field length with the database (done) and then list beside it the current largest field item so I can trim the max field length values.
I hope this isn't too confusing!?
Thanks in advance,
Adam.