| 1. |
How To Create Generic Time Class, Which Includes Objects Year,month And Qtr? Database In Use Is Oracle? |
|
Answer» If your database CONSIST all dates something like 01/02/2000 or 01-Feb-2000, you will need to break the date FIELD into year, QTR,MONTH & if required date. For E.g. : to_char(sales_date, 'YYYY') for getting only year from the date. If your database consist all dates something like 01/02/2000 or 01-Feb-2000, you will need to break the date field into year, qtr,month & if required date. For E.g. : to_char(sales_date, 'YYYY') for getting only year from the date. |
|