Answers for "sql find longest string in a field"

SQL
1

how to print longest name in sql

select top 1 Name, len(Name) as city_length from tblPerson order by city_length desc
Posted by: Guest on June-29-2021

Code answers related to "sql find longest string in a field"

Code answers related to "SQL"

Browse Popular Code Answers by Language