Answers for "MySql zerofill string"

SQL
0

mysql zerofill

CREATE TABLE yourtable (x INT(8) ZEROFILL NOT NULL, y INT(8) NOT NULL);
INSERT INTO yourtable (x,y) VALUES
(1, 1),
(12, 12),
(123, 123),
(123456789, 123456789);
SELECT x, y FROM yourtable;
Posted by: Guest on February-09-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language