Change Date Format(DD/MM/YYYY) in SQL SELECT Statement

前端 未结 5 1085
挽巷
挽巷 2021-02-08 08:28

The Original SQL Statement is:

SELECT SA.[RequestStartDate] as \'Service Start Date\', 
       SA.[RequestEndDate] as \'Service End Date\', 
FROM
(......)SA
WHER         


        
5条回答
  •  我在风中等你
    2021-02-08 08:48

    There's also another way to do this-

    select TO_CHAR(SA.[RequestStartDate] , 'DD/MM/YYYY') as RequestStartDate from ... ;
    

提交回复
热议问题