oracle中有方便的转换日期格式的方法,如下:

to_date('17-12-1980','dd-mm-yyyy')

 

同样的功能在sqlserver中的实现,如下:

 

cast('1980-12-17' as datetime)


有关日期格式:oracle中的to_date转换为sqlserver实现的办法

相关文章:

  • 2021-08-05
  • 2021-05-26
  • 2021-11-29
  • 2022-12-23
猜你喜欢
  • 2021-12-23
  • 2022-01-21
  • 2021-07-07
  • 2022-01-07
  • 2021-09-17
相关资源
相似解决方案