ttsBegin; while select forUpdate myTable where myTable.AccountNum == '1000' { myTable.delete(); } ttsCommit;
atau
static void DeleteMultiRow1bJob(Args _args) { MyWidgetTable tabWidget; // extends xRecord. ; ttsBegin; while select forUpdate tabWidget where tabWidget .quantity <= 100 { tabWidget .delete(); } ttsCommit; }
atau
static void DeleteMultiRow1aJob(Args _args) { MyWidgetTable tabWidget; ; delete_from tabWidget where tabWidget .quantity <= 100; }
Tidak ada komentar:
Posting Komentar