Oracle

Date Functions

Figo Kim 2006. 8. 30. 19:36
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
  • MONTHS_BETWEEN : NUmber of months between two dates
    MONTHS_BETWEEN(date1,date2)
    The result canbe positive or negative
  • ADD_MONTHS : Add calendar months to date
    ADD_MONTHS(date, n)
    "n" must be an integer and can be negative
  • NEXT_DAY : Next day of the date specified
    NEXT_DAY(date, 'char')
    The value of char must be a number representing a day or a character string.
  • LAST_DAY : Last day of the month
    LAST_DAY(date) : Find s the date of the last day of the month that contains date
  • ROUND : Round Date
    ROUND(date[,'fmt']) fmt ==> format model
  • TRUNC : Truncate date
    TRUNC(date[,'fmt']) fmt ==> format model

'Oracle' 카테고리의 다른 글

TO_CHAR function with Dates  (0) 2006.08.30
Date Functions  (0) 2006.08.30
Using the && Substitution variable  (0) 2006.08.29
Using the && Substitution variable  (0) 2006.08.29
Substitution Variable  (0) 2006.08.28