MySQL 错误 1063: Incorrect column specifier for column '序号' 解决方法
The error is occurring because the column specifier for the '序号' column is incorrect.
To fix this, you can change the column specifier for the '序号' column to 'INT' instead of 'VARCHAR(20)'. The corrected CREATE TABLE statement would be:
CREATE TABLE shujuku (
序号 INT PRIMARY KEY AUTO_INCREMENT,
提货日期 DATE,
卸货日期 DATE,
货物品名 VARCHAR(20) NOT NULL,
产地 VARCHAR(20),
供应商 VARCHAR(20),
集装箱号 VARCHAR(20),
铅封号 VARCHAR(20),
原发净重 INT,
运输公司 VARCHAR(20),
提货车号 VARCHAR(20),
收获工厂 VARCHAR(20),
实收数量 INT,
磅差 INT,
油脚 INT,
无液袋油脚 INT,
备注 TEXT,
合同号 VARCHAR(20)
);
This will create the table 'shujuku' with the correct column specifier for the '序号' column.
原文地址: https://www.cveoy.top/t/topic/pirs 著作权归作者所有。请勿转载和采集!