H.323网守实现

源代码在线查看: f_voiptariff.sql

软件大小: 882 K
上传用户: fitnes51
关键词: 323 网守
下载地址: 免注册下载 普通下载 VIP

相关代码

				DELETE FROM voiptariff;				INSERT INTO voiptariff (dstid, price) SELECT id, 15.0 FROM voiptariffdst WHERE active;								CREATE TEMPORARY TABLE voiptariff_temp (				  dstname TEXT NOT NULL,				  dstprice NUMERIC(9,4) NOT NULL,				  dstcurr TEXT NOT NULL,				  dstinitinc INT NOT NULL,				  dstreginc INT NOT NULL,				  dstgraceperiod INT NOT NULL				);									\copy voiptariff_temp(dstname, dstprice, dstcurr, dstinitinc, dstreginc, dstgraceperiod) from 'voiptariff.asc' with delimiter '\t'								UPDATE voiptariff SET price = dstprice, currencysym = dstcurr, 					initialincrement = dstinitinc, regularincrement = dstreginc,					graceperiod = dstgraceperiod					FROM voiptariff_temp T, voiptariffdst D					WHERE dstid = D.id AND D.description LIKE T.dstname;							

相关资源