compare.test
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:0k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. #
  2. # Bug when using comparions of strings and integers.
  3. #
  4. CREATE TABLE t1 (id CHAR(12) not null, PRIMARY KEY (id));
  5. insert into t1 values ('000000000001'),('000000000002');
  6. explain select * from t1 where id=000000000001;
  7. select * from t1 where id=000000000001;
  8. delete from t1 where id=000000000002;
  9. select * from t1;
  10. drop table t1;