Home Sql Mysql-example Mysql String Length

Related Tutorials


 
 

Share on Google+Share on Google+

Mysql String Length

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

Post your Comment


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