mysql> select tb1.casename, tb1.verdict, tb1.logpath, tb2.suitename from tb1, tb2 where tb1.suiteindex=tb2.id;
我在mysql里输入这条查询语句之后,会出现如下的warning,请问这是因为什么?| Warning | 1292 | Truncated incorrect DOUBLE value: 'D:AutomationExe   estcaseM
obileOriginalShortCall.dll' |ps:我在网上搜了一下,很多人说语法错误,可是我没有发现我这条select语句有什么问题啊。

解决方案 »

  1.   

    tb1.suiteindex 是什么字段类型?
      

  2.   

    tb1.suiteindex是int型
    tb2.id是auto_increment 也是int型
      

  3.   


    不好意思 是我弄错了
    tb1.suiteindex 是char类型,所以导致的问题
    但是我现在想把tb1.suiteindex的类型修改为int(11);
    为什么一下语句有问题呢?
    alter table tb1 alter column suiteindex int(11); 总是提示int附近有错误ps:tb1里现在有数据
      

  4.   

    alter table tb1 modify column suiteindex int(11)参考一下MYSQL官方免费手册中的语法说明