Home Sql Mysql-example Mysql String Length



Mysql String Length
Posted on: January 17, 2009 at 12:00 AM
The Tutorial illustrate an example from 'Mysql String Length'.To grasp this example we use Length ( ) query that returns the length size of string.

Mysql String Length

     

Mysql Length is used to return the length of the String.

Understand with Example

The Tutorial illustrate an example from 'Mysql String Length'.To grasp this example we use Length ( ) query that returns the length size of string.

Length('Girish')as  StrLength: The Syntax is used to return the length size of string 'Girish' as fieldname StrLength.  

 

 

 

Query:

mysql> Select Length('Girish')as StrLength;

Output:-

+-----------+
| StrLength |
+-----------+
|         6 |
+-----------+
1 row in set (0.00 sec)

Related Tags for Mysql String Length:
sqlmysqlstringqueryaspsizetutorialreturnriathislengthexampletoexameilusefrominasmtrratetorxaxampsurnspatrasmyishallmplstrtutorzssriringthsthatgrasppleplomo


More Tutorials from this section

Ask Questions?    Discuss: Mysql String Length  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.