?
Solved

What does (Sysdate+1/288) mean?

Posted on 2003-03-19
7
Medium Priority
?
2,678 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many‚Ķ
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Suggested Courses

765 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