Character function
ASCII (' a ') =>97
Chr (=>) ' A '
Initcap (' My word ') =>my Word
InStr (' Morning, ' n ', 1,1) =>4
Length (' Eric Lu Han ') =>11
Lpad (' Targ ', ten, ' * ') =>******targ
Nls_lower (' Me ') =>me
Nls_upper (My word ") => my Word
Regexp_replace () (10g)
Regexp_substr () (10g)
Replace (' searchstring_10g ', ' searchstring ', ' replacestring ') =>replacestring_10g
Rpad (' Targ ', ten, ' * ') =>targ******
substr (' Now ', 1,2) =>no
Translate (' FromTo ', ' Fromstringtotrans ', ' tostringxxxxxxxxx ') =>tostxx conversion (character, original character, corresponding character)
Date Time function
Add_months (sysdate,-12) =>18-11-03
current_date=>2004-11-18 14:27 Date time for the current session time zone (9i)
Current_timestamp date time of the current session time zone (9i)
Dbtimezone =>+08:00 Current database time zone
...
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.