Oracle commonly used functions

decode() : decode(column,'0'.'male','1','female','unknown')
When the column value is 0, it becomes male, when it is 1, it becomes female, and other values ​​are
unknown It is so wrong. . . .

nvl() : nvl(colunmn,1)
When the column is null, the value is 1

floor() : floor(3.14) returns 3, rounded down, minus the decimal

to_date():

to_char()

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326426474&siteId=291194637