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.
mysql> Select Length('Girish')as StrLength;
+-----------+ | StrLength | +-----------+ | 6 | +-----------+ 1 row in set (0.00 sec)
Posted on: January 16, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles