select* from t_inout_all where 
to_char(createtime,'yyyy-mm-dd hh:mm:ss')  ='2006-11-28 17:50:00'
createtime 是DATE型     应该怎么写啊!