Improve company productivity with a Business Account.Sign Up

x
?
Solved

character count of text datatype

Posted on 2010-08-12
3
Medium Priority
?
618 Views
Last Modified: 2012-05-10



column1 is text datatype

how do i find character count
0
Comment
Question by:rgb192
3 Comments
 
LVL 23

Accepted Solution

by:
Kamaraj Subramanian earned 1000 total points
ID: 33422569

SELECT DATALENGTH(yourtextfield) AS TEXTFieldSize

Open in new window

0
 
LVL 1

Assisted Solution

by:ronythom
ronythom earned 1000 total points
ID: 33423034
select length(textfield)as length_of_text from table
0
 
LVL 1

Author Closing Comment

by:rgb192
ID: 33423785
thanks
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

606 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question