經常使用oracle之經常使用函數

select round(10.38764, 3) round from dual;     --四捨五入。10.388   select trunc(10.38764, 3) trunc from dual;       --截斷。10.387   select to_char(sysdate, 'yyyy-MM-dd hh24:mi:ss') to_char from dual;    --日
相關文章
相關標籤/搜索