0
plz檢查查詢不適用於我,如果有任何更正編輯它。這將有助於我。如何編寫SQlite查詢對於多行更新
const char *TimedEventQuery=[ @"update table1 set EndTime = ?, Duration = ?, where EndTime is null and eventType = 2 or 3" UTF8String];
plz檢查查詢不適用於我,如果有任何更正編輯它。這將有助於我。如何編寫SQlite查詢對於多行更新
const char *TimedEventQuery=[ @"update table1 set EndTime = ?, Duration = ?, where EndTime is null and eventType = 2 or 3" UTF8String];
幾個問題:
const char *TimedEventQuery= "update table1 set EndTime = ?, Duration = ? where EndTime is null and (eventType = 2 or eventType = 3)";