lundi 15 juin 2015

How to get Max id in table column database?when id store as string?

In my app i want to get max id from my column .am using Max function get max id 0-9 ,,but after 10 its not work.

The reason is am store id datatype as TEXT not an INT.How to get max id from that id column for all vales?

Aucun commentaire:

Enregistrer un commentaire