sql - not getting max value more than 999 in MySQL from varchar column -


i have varchar column in mysql table stores numbers. when run query

select max(title_no) title_no mytable 
999 there more records in table value > 999 in title_no column.

i not allowed change column varchar int. please me correct nuber.

thanks

max(cast(title_no signed)) 

.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -