insert

1 posts

MySQL insert into 语句中字符串报错

在传入值时,在C 中代码直接传入string值,报错显示未找到符合列 运行出错后发现是自己没有考虑到命令全部以字符串形式传入,此时description传入的字符串未带有双引号<u " " </u ,命令的字符串形式为: 可以看到description没有双引号所以命令出错,需要修改命令desc...

MySQL String Error in insert into Statement

When passing values, looking at C code directly passing string value, error reported showing matching column not found After the running error, I fo...