-1

我不断收到以下错误,但我不知道为什么:

09-26 22:18:42.255:E/AndroidRuntime(10613):致命异常:主要 09-26 22:18:42.255:E/AndroidRuntime(10613):android.database.sqlite.SQLiteException:靠近“,”:语法错误(代码 1):,

编译时:

UPDATE reminders
SET NAME = 'Finish this app.'
    , category = 'Personal'
    , priority = 'Urgent'
    , note = 'Test note'
    , phone_call = 0
    , text_message = 0
    , phone_number = ''
    , text_message_content = ''
    , no_reminder = 0
    , remind_me_after = 1
    , remind_me_after_length = 120
    , custom_remind_me_after = 0
    , remind_me_at = 0
    , time_hour = 22
    , time_minute = 18
    , date_month = 8
    , date_day = 26
    , date_year = 2012
    , recur = Never
    , custom_recur_length = 0
    , custom_recur_unit = NULL
    , custom_recur_until_month = 0
    , custom_recur_until_day = 0
    , custom_recur_until_year = 0
    , custom_recur_sunday = 0
    , custom_recur_monday = 0
    , custom_recur_tuesday = 0
    , custom_recur_wednesday = 0
    , custom_recur_thursday = 0
    , custom_recur_friday = 0
    , custom_recur_saturday = 0
    , share_email_address = ''
    , share_email_message = ''
    , share_phone_number = ''
    , share_text_message_content = ''
    , alert_type_sound = 1
    , alert_type_vibrate = 1
    , alert_type_notification_light = 1
    , repeat_alert = 0
    , repeat_alert_length = 0
    , repeat_alert_times = 0
WHERE _id = 8
4

2 回答 2

1
recur = Never 

应该

recur = 'Never' 

我猜

于 2012-09-27T05:32:35.183 回答
1
   recur = never, 

这应该是

   recur = 'never', 
于 2012-09-27T05:32:47.523 回答