ttsBegin; insert_recordset myTable (field1, field2) select field1, field2 from tmpMyTable where field1>0; ttsCommit;