type_year.test
Upload User: tsgydb
Upload Date: 2007-04-14
Package Size: 10674k
Code Size: 0k
Category:

MySQL

Development Platform:

Visual C++

  1. #
  2. # Test year
  3. #
  4. create table t1 (y year,y2 year(2));
  5. insert into t1 values (0,0),(1999,1999),(2000,2000),(2001,2001),(70,70),(69,69);
  6. select * from t1;
  7. select * from t1 order by y;
  8. select * from t1 order by y2;
  9. drop table t1;