Home Sql Mysql-example Mysql Length Function



Mysql Length Function
Posted on: January 17, 2009 at 12:00 AM
The Tutorial already illustrate you an example to find the length of the String. Now this section of tutorial helps you to find the Length Function in Mysql.

Mysql Length Function

     

The Tutorial already illustrate you an example to find the length of the String. Now this section of tutorial helps you to find the Length Function in Mysql. The Query length('Roseindia.net') is used to compute the length of characters in Roseindia.net under the fieldname Length of string.

length(Roseindia.net) : The Query given below is used to compute the length of string enclosed in single quotes under the specified column name.

 

 

 

Query:

mysql> select length('Roseindia.net')as Lengthofstring;

Output:-

+----------------+
| Lengthofstring |
+----------------+
|             13 |
+----------------+
1 row in set (0.00 sec)

Related Tags for Mysql Length Function:
.netsqlmysqlcstringquerycomfunctionfuniohelpsedfindchartutorialfieldreadnameriathislengthcharactercharactersieexampleuncctetoexamldeilsectionputuseinnompstrnetosnetosadfunccomputemeratetorxaxampsatracmyishallmpldiadneaaractstrtutorssriringthstdnafinpleplndonomo


More Tutorials from this section

Ask Questions?    Discuss: Mysql Length Function  

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.