Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
sabeer masthan
(259)
amarababu nara...
(204)
Deepika Harida...
(79)
Last 7 Days
Deepika Harida...
(1268)
Pradeep Y
(1157)
amarababu nara...
(1031)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
How to get the length of a string in SQL Server
Posted Date: 04 Mar 2008 Resource Type:
Code Snippets
Category:
SQL
Posted By:
Ashwini Rupert
Member Level:
Diamond
Rating:
Points
: 10
This code sample shows how to use the LEN function in SQL Server to get the lenght of a string column.
USE DATABASE
SELECT column1, LEN(column1)
FROM tablename
Responses
Author:
andy robarts
28 Apr 2008
Member Level:
Gold
Points
: 2
select length(
) from
where
;
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
(No tags found.)
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
Column Aliases
Previous Resource:
How to get current date in SQL Server
Return to Discussion Resource Index
Post New Resource
Category:
SQL
Post resources and
earn money
!
Related Resources
Creating tables and Inserting values in Sql Server
Regarding connection strings of Sql Server 2005 compact Edition
How to save application errors(Exceptions occurs) in SQL Server Database
How to return the name of the remote SQL Server database as it appears in the login record.
How to get the number of disk write errors encountered by SQL Server since SQL Server last started.
dotNet Slackers
BizTalk Adaptors
Web Design
teleconferencing
Contact Us
Privacy Policy
Terms Of Use