Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Simple date arithmetic

Simple date arithmetic

From: <rasx_at_my-deja.com>
Date: Fri, 27 Oct 2000 23:19:57 GMT
Message-ID: <8td2io$h8m$1@nnrp1.deja.com>

As a product of MS SQL Server culture, I am at a significant loss when trying to do simple date arithmetic in Oracle 7.

For example, how do I shave off 30 minutes from SYSDATE?

This does not seems to work:

SELECT SYSDATE - TO_DATE(30,'MI') OUT FROM DUAL; Do I need to use a TO_CHAR() somewhere?

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Fri Oct 27 2000 - 18:19:57 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US