Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是一个直截了当的问题。
我已经做了什么:
sql.delete(TBL_ITEMS, KEY_TOTAL_AMOUNT + "=" + "", null);
或者
sql.delete(TBL_ITEMS, KEY_TOTAL_AMOUNT + "=" + null, null);
还有其他方法吗?
那么你可以试一试:
sql.delete(TBL_ITEMS, KEY_TOTAL_AMOUNT + " IS NULL", null);