Home
Oracle PL / SQL
Aggregate Functions
Analytical Functions
Char Functions
Constraints
Conversion Functions
Cursor
Data Type
Date Timezone
Hierarchical Query
Index
Insert Delete Update
Large Objects
Numeric Math Functions
Object Oriented Database
PL SQL
Regular Expressions
Report Column Page
Result Set
Select Query
Sequence
SQL Plus
Stored Procedure Function
Subquery
System Packages
System Tables Views
Table
Table Joins
Trigger
User Previliege
View
XML
ADD_MONTHS « Date Timezone « Oracle PL / SQL
Oracle PL / SQL
Date Timezone
ADD_MONTHS
1.
ADD_MONTHS: Schedule a number of months after the current date
2.
Subtract Month from a given date
3.
Adding one month to SYSDATE
4.
Adding two months to current date
5.
Combine to_char with add_months
6.
select add_months( sysdate, 12 ) "Next Year"
7.
select add_months( sysdate, -12 ) "Last Year"