Home  >  Article  >  Database  >  MySQL Optimization—Code Example to View Field Length

MySQL Optimization—Code Example to View Field Length

黄舟
黄舟Original
2017-03-10 09:58:201110browse

MySQL Optimization—Code Example to View Field Length:

CREATE TABLE tmp13(vb VARBINARY(10))
INSERT INTO tmp13 (vb) VALUES(12)
SELECT LENGTH(vb) FROM tmp13
INSERT INTO tmp13 (vb) VALUES(1212)


The above is the detailed content of MySQL Optimization—Code Example to View Field Length. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn