recherche

Maison  >  Questions et réponses  >  le corps du texte

mysql - sql字段包含逗号

我做数据库插入时,碰到插入字段有逗号。执行提示语法错误,这个应该怎样处理??
其中某一条:
。。。(word , pos , from) VALUES ('word','noun,verb','word')'

PHP中文网PHP中文网2863 Il y a quelques jours686

répondre à tous(2)je répondrai

  • ringa_lee

    ringa_lee2017-04-17 11:53:13

    from是关键词要写成`from`

    répondre
    0
  • PHP中文网

    PHP中文网2017-04-17 11:53:13

    没道理啊,能贴出SQL插入语句吗?


    刚才在MySQL测试过,输入中有逗号没有问题。
    能贴出你的错误信息吗?


    看到你的字段定义有问题,已经得到解决,就关闭这个问题吧。

    répondre
    0
  • Annulerrépondre