mysql 怎么改 memo 类型的数据   我用 update nvc_safecfg set value = 1 where key ='safemode';

解决方案 »

  1.   

    MySQL 不懂,另value是什么数据类型?
      

  2.   


    update nvc_safecfg set value = '1' where key ='safemode';
      

  3.   

    去BAIDU 或其他数据库板块看看吧
      

  4.   

    mysql> update nvc_safecfg set value = '1' where key ='safemode';
    ERROR 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key ='safemode'' at line 1
    mysql> 
      

  5.   

    alter table 表名 change 字段 字段 int not null这样试试,把类型memo修改成int型
      

  6.   

    你说的是根据memo类型进行更新,那样是不行的。你修改个数据类型吧,修改成varchar(找个够大的数字)。