Apr 25, 2008 #1 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
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
Apr 25, 2008 #2 gmmastros Programmer Feb 15, 2005 14,912 US Length -George "The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom Upvote 0 Downvote
Length -George "The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
Apr 25, 2008 #3 gmmastros Programmer Feb 15, 2005 14,912 US 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 Upvote 0 Downvote
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
Apr 25, 2008 #4 SQLDenis Programmer Oct 1, 2005 5,575 US or datalength Denis The SQL Menace -------------------- SQL Server Code,Tips and Tricks, Performance Tuning SQLBlog.com, Google Interview Questions Upvote 0 Downvote
or datalength Denis The SQL Menace -------------------- SQL Server Code,Tips and Tricks, Performance Tuning SQLBlog.com, Google Interview Questions