請各位高手幫幫忙:我需要把資料視窗(dw_1)中的資料逐條取出帶入函式,然后把標志位更新到SQL server資料庫,然后在取下一條資料回圈處理。請各位高手幫幫忙決絕一下本人才學PB
uj5u.com熱心網友回復:
for i = 1 to dw_1.rowcount()ls_string = dw_1.object.列名[I]
update 表名 set 欄位=string where using sqlca;
commit;
next
uj5u.com熱心網友回復:
在請問一下dw_1.object.列名[I]中的I是指什么?
string where using sqlca是什么意思
uj5u.com熱心網友回復:
I 是回圈變數,第幾行string where using sqlca是什么意思
這句話要斷開看
update 表名
set 欄位=string
where 你的條件
using sqlca;
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/106242.html
標籤:數據庫相關
上一篇:Pfc 為何運行不了
