FIT1004 Lecture 8: Oracle Functions
Lecture 8 : Oracle Functions
● Arithmetic
○ square root
○ round(n,[integer])
○ abs
○ power
● Text
○ Length
○ upper
○ lower
● Date
○ year
○ month
○ sysdate
● Convert
○ to_date
○ to_char
○ to_number
● Group
○ sum
○ avg
○ max
○ min
○ count
Date Functions
SYSDATE
● current date queried from dual
● Oracle uses one type : DATE
● dd-Mon-yyyy
● date data type is formated with TO_CHAR when selecting for display