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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Change sysdate in database to a future date

Re: Change sysdate in database to a future date

From: Arn Klammer <Arn.Klammer_at_austrac.gov.au>
Date: Thu, 06 Dec 2001 21:13:45 -0800
Message-ID: <F001.003D71DE.20011206210018@fatcity.com>

SYSDATE is determined by the operating system's date. You can't change the current date and time in Oracle; you have to change it at the OS level.

If, however, your aim is to determine things like "what's the date one week from today", then you can use Oracle's date arithmetic functionality (eg, "SYSDATE + 7" to determine the date one week from today).

hth

-arn

>>> clchan_at_nie.edu.sg 7/12/2001 14:45:21 >>>
This message has been scanned by MAILSweeper.


Hi Gurus,

I need to change the sysdate in the database to a future date. Does anyone know the command to do it ? Please advise. Thanks.

Regds,
New Bee

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: CHAN Chor Ling Catherine (CSC)
  INET: clchan_at_nie.edu.sg 

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Arn Klammer
  INET: Arn.Klammer_at_austrac.gov.au

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Dec 06 2001 - 23:13:45 CST

Original text of this message

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