日期:2014-05-18 浏览次数:20485 次
create table t(birth datetime) insert into t select '1986-3-21' insert into t select '1987-3-21' select * from t delete from t where birth<'1987-3-21' --(1行受影响) select * from t insert into t select '1986-3-21' delete from t where birth>'1987-3-21' --(0行受影响) select * from t delete from t where birth>1987-3-21 --(2行受影响) select * from t go drop table t