setgloballocal_infile='ON';LOADDATALOCALINFILE"D:/tmdata/20181130/sbzcrxx.csv"INTOTABLE`trademarkregister`c...
set global local_infile = 'ON'; LOAD DATA LOCAL INFILE "D:/tmdata/20181130/sbzcrxx.csv" INTO TABLE `trademarkregister` character set utf8 fields terminated by ',' IGNORE 1 LINES (RegNumber,InternationalClass,RegisterCnName,RegisterEnName,RegisterCnAddress,RegisterEnAddress); LOAD DATA LOCAL INFILE "D:/tmdata/20181130/gjzcjbxx.csv" INTO TABLE `international_baseinfo` character set utf8 fields terminated by ',' IGNORE 1 LINES (RegNumber,International_RegNumber,International_RegDate,International_NotifyDate,International_Lang,International_Type,International_AnnNumber,International_AnnDate,After_OptionDate,Base_RegDate); LOAD DATA LOCAL INFILE "D:/tmdata/20181130/zcsbyxqxx.csv" INTO TABLE `trademarkpriorityinfo` character set utf8 fields terminated by ',' IGNORE 1 LINES (RegNumber,InternationalClass,PriorityCode,PriorytyType,PriorityDate,PriorityItems,PrioryityCountry); LOAD DATA LOCAL INFILE "D:/tmdata/20181130/zcsbgyrxx.csv" INTO TABLE `trademarkcommonregister` character set utf8 fields terminated by ',' IGNORE 1 LINES (RegNumber,CommonRegisterCnName,CommonRegisterEnName,CommonRegisterCnAddress,CommonRegisterEnAddress); LOAD DATA LOCAL INFILE "D:/tmdata/20181130/zcsbspfwxx.csv" INTO TABLE `trademarkitems` character set utf8 fields terminated by ',' IGNORE 1 LINES (RegNumber,InternationalClass,SimilarGroup,ItemSerial,ItemName,ItemStatus); LOAD DATA LOCAL INFILE "D:/tmdata/20181130/zcsbjbxx.csv" INTO TABLE `trademarkbaseinfo` character set utf8 fields terminated by ',' IGNORE 1 LINES (RegNumber,InternationalClass,ApplyDate,TrademarkName,TrademarkType,AgentCode,FirstAnnNumber,FirstAnnDate,RegAnnNumber,RegAnnDate,SpecialBeginDate,SpecialEndDate,SpecialValidity,TrademakDesignDesc,TrademarkColorDesc,AbstainSpecialDesc,Is3d,IsCommon,`Status`,GeoInfo,ColorInfo,IsWellKnown);
全文详见:http://xpxw.com/?id=76