gpt4 book ai didi

android - SQLiteException 语法错误不清楚

转载 作者:行者123 更新时间:2023-11-30 00:31:33 27 4
gpt4 key购买 nike

我明白了

android.database.sqlite.SQLiteException: near "WHERE": syntax error (code 1): , while compiling: insert or replace into taeglich (datum, a, b, c, d) 值('29.4 .2017', '10 ml f\n', '0.0', '0.0', '0.0') WHERE datum = '29.4.2017';

你看到语法错误了吗?

最佳答案

删除WHERE子句

insert or replace into taeglich VALUES ('29.4.2017', '10 ml f\n', '0.0', '0.0', '0.0');

关于android - SQLiteException 语法错误不清楚,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44246816/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com