SQLファイルから失ったデータを復元しようとしています。すべてのデータ、または特定の部分の周りにIF NOT EXISTを挿入できるかどうか疑問に思っていますか?たとえば、私はこれを500行以上持っています:
INSERT INTO `TOWNY_RESIDENTS` (`name`, `town`, `lastOnline`, `registered`, `isNPC`, `title`, `surname`, `protectionStatus`, `friends`, `townBlocks`, `town-ranks`, `nation-ranks`)
VALUES
('003497', '', 1345023973086, 1344596322606, 0, '', '', 'residentBuild,residentDestroy,residentSwitch,residentItemUse', '', '', NULL, NULL),
('007belg', '', 1359561715886, 1359561236484, 0, '', '', 'residentBuild,residentDestroy,residentSwitch,residentItemUse', '', '', '', ''),
('00Landmine', '', 1360592736927, 1360592672899, 0, '', '', 'residentBuild,residentDestroy,residentSwitch,residentItemUse', '', '', '', '')