TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
SQL Server Transact Basic to Expert - Using String Function Get Left most n values
Karthikeyan Anbarasan
Jun 14, 2011
3
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
SQL Server Transact Basic to Expert - Using String Function Get Left most n values
This blog shows how to get the first n values starting count from the left most character using LEFT function in SQL
Example:
SELECT LEFT('this is a sample for the LEFT function', 10)
The expected result would be "'this is a "
SQL Server Transact Basic to Expert - Using String Function Get Left most n values
Next Recommended Reading
SQL Server Transact Basic to Expert - Using String Function Check Similarity Comparison of string