记录遇到的一些 Oracle 函数,以及表达式
length 与 lengthb
1 | -- length() |
utl_match.edit_distance
1 | -- utl_match.edit_distance(s1 IN VARCHAR2, s2 IN VARCHAR2) |
last_day
1 | -- last_day(date) |
trunc
时间截取格式参考:Date Format Models for the ROUND and TRUNC Date Functions
1 | -- trunc() |
interval
Interval Expressions
Interval Literals
1 | -- Interval Expressions |
decode
1 | -- decode() |