select * from table where tablecode = '001' for update;--如果执行这条语句,执行Edit Date时,报错"These query results are not updateable,Include the ROWID to get updateable results."要加RowID,修改sql如下:
select c.*,c.rowid from table c where tablecode = '001' for update;