-- Table structure for t_regionnds -- ---------------------------- DROP TABLE IF EXISTS t_regionnds; CREATE TABLE t_regionnds ( RegionID bigint(20) NOT NULL, NDSIP varchar(50) NOT NULL, NDSPort bigint(20) NOT NULL, NDSUserName varchar(50) NOT NULL, N…
--创建新增本地数据库的存储过程create or replaceprocedure pro_electric_record as begin insert into electric_meter_record(id,basestation_id,name,meter_number,createtime,electric_meter_id) select sys_guid(),substr(s.sname,0,36),s.sname,s.svalue,sysdate,(select…