Oracle 常用语句

1.Oracle 转义&符号

select 'http://localhost:50476/auth/logon?u=user' || chr(ascii('&')) || 'p=8888' from dual;  

2.日期转换

select to_char(sysdate,'yyyy-mm-dd') from dual



select to_date('2012-01-01','yyyy-mm-dd') from dual

 

你可能感兴趣的:(oracle)