我有大约 1000 行用于生成这样的数据库:
INSERT INTO cfg_locale VALUES(1,8,1,0,0,'Unknown Switch Type','Enum_CfgSwitchType')
INSERT INTO cfg_locale VALUES(1,8,1,1,0,'Nortel Meridian 1','Enum_CfgSwitchType')
INSERT INTO cfg_locale VALUES(1,8,1,2,0,'Rockwell Spectrum','Enum_CfgSwitchType')
INSERT INTO cfg_locale VALUES(1,8,1,3,0,'Rockwell Galaxy','Enum_CfgSwitchType')
INSERT INTO cfg_locale VALUES(1,8,1,4,0,'Nortel Communication Server 2000/2100','Enum_CfgSwitchType')
INSERT INTO cfg_locale VALUES(1,8,1,5,0,'Avaya Communication Manager','Enum_CfgSwitchType')
请注意,我需要将此数据库翻译成法语(娱乐不是一种选择)
以下是法语配置文件的示例:
INSERT INTO cfg_locale VALUES(1,8,29,0,0,'Type de HA inconnu','CFGHTNoHAType')
INSERT INTO cfg_locale VALUES(1,8,29,1,0,'Non spécifié','CFGHTColdStanby')
INSERT INTO cfg_locale VALUES(1,8,29,2,0,'Reprise intermédiaire','CFGHTWarmStanby')
INSERT INTO cfg_locale VALUES(1,8,29,3,0,'Reprise immédiate','CFGHTHotStanby')
我刚在想 :
REPLACE((cfg_locale VALUES(1,8,1,0,0,'Unknown Switch Type','Enum_CfgSwitchType')),INSERT INTO cfg_locale VALUES(1,8,29,0,0,'Type de HA inconnu','CFGHTNoHAType'))
这显然不起作用(SQL NOOB)