zoukankan      html  css  js  c++  java
  • mysql ERROR 1064 (42000): Erreur de syntaxe près de 'order)

    mysql> INSERT INTO page (author_username, page_title, addtime, cat_id, page_cont
    ent,author_uid,item_id,order) values('','','0','0','testdata2','0','0','99');
    ERROR 1064 (42000): Erreur de syntaxe près de 'order) values('','','0','0','test
    data2','0','0','99')' à la ligne 1
    mysql> INSERT INTO page (author_username, page_title, addtime, cat_id, page_cont
    ent,author_uid,item_id,order) values('','',0,0,'testdata2',0,0,99);
    ERROR 1064 (42000): Erreur de syntaxe près de 'order) values('','',0,0,'testdata
    2',0,0,99)' à la ligne 1

    数据库page 表含有字段order,导致错误,order是sql 语句中的关键字,不可以用来作为字段使用

  • 相关阅读:
    harbor docker
    dns服务器
    k8s
    frps
    svn 搭建
    phpstrom 破解 转载https://www.jianshu.com/p/e71361b3bfee
    公开课
    k8s
    rsync各种备份
    定时任务
  • 原文地址:https://www.cnblogs.com/beyang/p/5032852.html
Copyright © 2011-2022 走看看