oracle日期格式 oracle數(shù)據(jù)庫怎么轉(zhuǎn)換時(shí)間格式?
oracle數(shù)據(jù)庫怎么轉(zhuǎn)換時(shí)間格式?您可以使用todate(“Date type string”、“Date type to be converted”)函數(shù)進(jìn)行日期格式轉(zhuǎn)換SQL:selecttod
oracle數(shù)據(jù)庫怎么轉(zhuǎn)換時(shí)間格式?
您可以使用todate(“Date type string”、“Date type to be converted”)函數(shù)進(jìn)行日期格式轉(zhuǎn)換SQL:selecttodate(“1990-12-1212:12:32”、“yyyy-mm-ddhh24:Mi:SS”)來自手動(dòng)解釋:此語句的輸出為“1990-12-1212:12:32”(日期類型)。以下日期類型格式可根據(jù)實(shí)際需要進(jìn)行修改,如:選擇“手動(dòng)日期(”1990-12-1212:12:32“,”yyyy-MM-DD)的輸出結(jié)果為“1990-12-12”