nls_date_format设置


setenvNLS_DATE_FORMAT

"dd-mon-yyyyhh24:mi:ss"








$
sqlplusscott/tiger





SQL
*Plus:Release8.1.5.0.0-ProductiononMonJun2606:56:332000





(c)Copyright1999OracleCorporation.Allrightsreserved.








Connectedto:


Oracle8iEnterpriseEditionRelease8.1.5.1.0-Production


WiththePartitioning
andJavaoptions


PL
/SQLRelease8.1.5.1.0-Production





scott
@ORACLE8I>selectsysdatefromdual;





SYSDATE


--------------------


26-jun-200006:56:37





scott
@ORACLE8I>

from:http://www.itpub.net/thread-473341-1-1.html

http://asktom.oracle.com/tkyte/Misc/NLSDateFormat.html

你可能感兴趣的:(format)