Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Sql Mysql-example Mysql Length Function

Related Tutorials


 
 

Share on Google+Share on Google+

Mysql Length Function

Advertisement
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)
Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: January 17, 2009

Related Tutorials

Discuss: Mysql Length Function  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com