Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to calculate character size in the field.

Status
Not open for further replies.

sow12

MIS
Apr 25, 2008
6
US
Hello:

I have a field which is varchar. I would like to calculate how many character in that field. How to do it.

Thanks,

Snow
 
Length



-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Sorry. It's Len

Code:
Select Len(ColumnName)
From   TableName

-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top