CREATE TABLE TableNameHere (
Home TEXT,
Height INT,
Weight INT,
SignatureMoves TEXT,
Biography TEXT
);
INSERT INTO TableNameHere (Home, Height, Weight, SignatureMoves, Biography)
VALUES ('', '', '', '', '');
Incorrect integer value: '' for column 'Height' at row 1
我不确定是什么问题
答案 0 :(得分:3)
如果您想要空数据,请使用NULL
作为数字字段:
INSERT INTO TableNameHere
(Home, Height, Weight, SignatureMoves, Biography)
VALUES
('', NULL, NULL, '', '');