回复 mengganzi 的帖子
我把上一个提升表清空了,有提升了下一个,
SQL 查询:
-- -- 转存表中的数据 `brand_attachments` -- INSERT INTO `brand_attachments` (`aid`, `isavailable`, `type`, `itemid`, `catid`, `uid`, `dateline`, `filename`, `subject`, `attachtype`, `isimage`, `size`, `filepath`, `thumbpath`, `downloads`, `hash`) VALUES (12, 1, 'model', 0, 0, 1, 1282777112, '01.jpg', 'subjectimage', 'jpg', 1, 8604, '2010/08/1_201008260658321Rr1m.jpg', '2010/08/1_201008260658321Rr1m.thumb.jpg', 0, 'm000002i00000002'), (2, 0, '', 0, 0, 18, 1281877270, '服装00.jpg', 'banner', 'jpg', 1, 110299, '2010/08/18_201008152101102he2K.jpg', '2010/08/18_201008152101102he2K.thumb.jpg', 0, 'm00shopi00000002'), (3, 0, '', 0, 0, 18, 1281877270, '服装.jpg', 'windowsimg', 'jpg', 1, 47085, '2010/08/18_201008152101103sx9l.jpg', '2010/08/18_201008152101103sx9l.thumb.jpg', 0, 'm00shopi00000002'), (7, 1, 'model', 0, 0, 1, 1282774476, '02.jpg', 'subjectimage', 'jpg', 1, 14487, '2010/08/1_201008260614361M0ql.jpg', '2010/08/1_201008260614361M0ql.thumb.jpg', 0, 'm000002i00000003'), ([...]
MySQL 返回:
#1062 - Duplicate entry '12' for key 1
|