开发者

how to get the size of a record in mysql

开发者 https://www.devze.com 2022-12-25 18:54 出处:网络
How to get the size of a record in MySql if the table contains 开发者_如何学JAVAfields of type TEXT or BLOB?

How to get the size of a record in MySql if the table contains 开发者_如何学JAVAfields of type TEXT or BLOB?

is it possible to get the size of a record or table using sql statement?


To calculate the size of a string or blob in bytes, use LENGTH(YourColumn).

To calculate the number of characters in a text string, use CHAR_LENGTH(YourTextColumn).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号