//查询日期(类型为date)的数据 select * from auth_organization_t t where to_char(create_date,‘yyyy-mm-dd hh:mi:ss‘) = ‘2013-08-12 05:31:09‘ select to_char(create_date,‘yyyy-mm-dd hh:mi:ss‘) from auth_organization_t t
时间: 2024-08-10 23:20:32
//查询日期(类型为date)的数据 select * from auth_organization_t t where to_char(create_date,‘yyyy-mm-dd hh:mi:ss‘) = ‘2013-08-12 05:31:09‘ select to_char(create_date,‘yyyy-mm-dd hh:mi:ss‘) from auth_organization_t t