in reply to Checking the length of all row elements
Why would you do something like that? why do you think you need the length of each row?
In MySQL you can do it like this
SELECT ( CHAR_LENGTH( `field1` ) + CHAR_LENGTH( `field2` ) ) AS `result` FROM `table`
|
|---|