sql1:

1 select sfwb
2 from tab_jxgd

运行:

oracle if-else sql 语句

sql2:

1 select (CASE sfwb WHEN 'y' THEN '' ELSE '' END) sfwb
2 from tab_jxgd

运行:

oracle if-else sql 语句

 

1 
1.select * from t_meetting_application t where to_date('2010-10-27 10:30:00', 'yyyy-mm-dd hh24:mi:ss') between t.starttime and t.endtime
2.select * from t_meetting_application t where t.starttime between to_date('2010-10-27 1:30:00', 'yyyy-mm-dd hh24:mi:ss') and to_date('2010-10-27 13:30:00', 'yyyy-mm-dd hh24:mi:ss')

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
  • 2021-11-01
  • 2022-12-23
  • 2021-07-07
猜你喜欢
  • 2021-12-02
  • 2021-10-18
  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
相关资源
相似解决方案