Showing posts with label MS SQL. Show all posts
Showing posts with label MS SQL. Show all posts
MS SQL get string length
Posted by Raj
MS SQL get string length
Get the length of string in ms sql server.In this article,I will explain how to get the length of string in MS SQL server.
MS SQL string LEN function Returns the length of the character string.
Syntax: LEN(string)
Query to get string Length in MS SQL
select LEN('str') as str_length;
I hope above query will help you to get the length of the character string in MS SQL server.
Get the length of string in ms sql server.In this article,I will explain how to get the length of string in MS SQL server.
MS SQL string LEN function Returns the length of the character string.
Syntax: LEN(string)
Query to get string Length in MS SQL
select LEN('str') as str_length;
I hope above query will help you to get the length of the character string in MS SQL server.