哪位前辈知道ASPEN SQL 更新点的语句,我的代码为何更新 ...? macro textfile = 'd:\装置\芳烃-a.csv'; --(根据实际情况修改) set expand_repeat = 1; local aname character (30); --name local atagname character (30); --io_value_record&&fld local curline integer; --start loop to update values from txt file --*.csv文件包含标题行,所以要去掉,根据文件中各个字段的位置调整 for (select line as text from '&textfile' where linenum 0) do aname = substring (2 of text between ','); atagname = substring (30 of text between ','); --(根据实际情况修改ip_dc_significance) --update analog record update iogetdef set io_tagname = aname, "io_value_record&&fld" =atagname,"io_data_processing" = 'on' where name ='iogetft_pv1'; end; 查看更多