sprintf(s, "insert into poi_name (err_name, feat_code ) value %s", strTemp.c_str()); 我的代码使用VALUE木有问题啊。
mysql 是mysql c++ 是c++ 语法不一样
sprintf(s, "insert into poi_name (err_name, feat_code ) value %s", strTemp.c_str()); 我的代码使用VALUE木有问题啊。according to the mysql doc, both value and values are valid.http://dev.mysql.com/doc/refman/5.5/en/insert.htmlTry replacing value with values and see if you still get errono 1064.
sprintf(s, "insert into poi_name (err_name, feat_code ) value %s", strTemp.c_str());
我的代码使用VALUE木有问题啊。
c++ 是c++
语法不一样
sprintf(s, "insert into poi_name (err_name, feat_code ) value %s", strTemp.c_str());
我的代码使用VALUE木有问题啊。according to the mysql doc, both value and values are valid.http://dev.mysql.com/doc/refman/5.5/en/insert.htmlTry replacing value with values and see if you still get errono 1064.