执行后出现:
错误
SQL 查询:
INSERT INTO `brand_modelcolumns` ( `mid` , `fieldname` , `fieldtitle` , `fieldcomment` , `fieldtype` , `fieldminlength` , `fieldlength` , `fielddefault` , `formtype` , `fielddata` , `displayorder` , `allowshow` , `allowpost` , `isfixed` , `isrequired` , `isimage` , `thumbsize` )
VALUES ( 4, 'reserveprice', '预定价格', '预定价格', 'DECIMAL', 0, 11, '', 'text', '', 0, 1, 1, 1, 0, 0, '' ) , ( 4, 'reserveinfo', '支付说明', '支付说明', 'TEXT', 0, 0, '', 'textarea', '', 0, 1, 1, 1, 0, 0, '' ) ;
MySQL 返回:
#1062 - Duplicate entry '4-reserveprice' for key 'fieldname'
|