?
Solved

What does (Sysdate+1/288) mean?

Posted on 2003-03-19
7
Medium Priority
?
3,005 Views
Last Modified: 2008-02-01
Actually in Execute DBMS_JOB.SUBMIT(:Jobno,'Analyze_object(''TABLE'',''DEPT'');',SYSDATE+1/288) ,its said that this job will be done in 5 minutes from now.So can anyone explain how does 1/288 represent 5 minutes from now? Thanks.
0
Comment
Question by:tony10
5 Comments
 

Accepted Solution

by:
rji earned 80 total points
ID: 8169916
In sysdate + 1, the one represent one day thus 24 hours.
1/288 is a fraction of the day.  So 24 hrs = 1440 minutes
1440 * 1/288 = 5 minutes.

HTH

Richard Ji
0
 

Expert Comment

by:rji
ID: 8169917
In sysdate + 1, the one represent one day thus 24 hours.
1/288 is a fraction of the day.  So 24 hrs = 1440 minutes
1440 * 1/288 = 5 minutes.

HTH

Richard Ji
0
 
LVL 8

Expert Comment

by:Danielzt
ID: 8169929
5 (minutes) = 5/(24*60) (days)

1 day = 24*60 (minute)


0
 

Expert Comment

by:millesm
ID: 8173923
1440 (1 day) divided by 5 (minutes) equals 288.

therefore

the current point in time + 5 minutes in an SQL Statement gets represented as

sysdate + 1/288

For a different number of minutes you would divide 1440 by the number of minutes you want and add 1/x to sysdate.

0
 

Author Comment

by:tony10
ID: 8181549
Sorry for asking one more question.Actually I cant start script file utldtree.sql which in my oracle book said I can open? Its the script file used for managing dependencies.And also I cant execute the following
"Exec deptree_fill('PROCEDURE,'SCOTT','NEW_EMP')" .It says "table or view does not exist" ? So is there any way for me? Thanks.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question