Get lenght of.....

  • Hello,

    Can anyone tell me how can i get the lenght of one column, for example if i've one column that is one varchar(500) but i've insert in this column data with 120 character what function can i use in SQL Server so that the output of the row size? (in character of corse)

    Thanks and regards,

    JMSM 😉

  • if you need the number of characters of your_column, try len(your_column) or max(len(your_column)) if you want to determine the max across the table

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply