Hi all i need ur help on how to calculate the avg time of two time stamps like start_time and end_time .
The ideal need is to know the average time taken by each job from a table .
i tried
SELECT job_name,AVG(en d_time - start_time) FROM rdbdev.loop_thr ough_job_stats WHERE report_id =12059909 GROUP BY job_name
the avg returned returns in an exponentiation values like
9.2592592592592 6E-7...
User Profile
Collapse
-
DBMS Job
How to create a job.how could it be efficiently managed without any locks occuring while a job runs.The scope and how to construct an effecient job. -
ALTER table tablename add SIMPLE_INTREST number set (principal*rate *time)
I'm not completly sure of this corection r welcome... -
To display all tables we can use
SELECT * from tab;
0r
SELECT * from user_tables;
To get the output of select statements in a ordered mannaer u can use the set command and its various options like linesize , pagesize...etc...Leave a comment:
-
I did look into the directory and file permissions but they have write permission.
how to go about this.Leave a comment:
-
Opening a file in Append mode
I tried to open an existing file in Append mode.
The file exists and also has data.
file_handle := UTL_FILE.FOPEN( '/usr/oracle/rdb_logs',
'pacs_report.tx t', 'A');
It gives an exception utl_file.invali d_operation -"invalid operation had happened"
How could this be rectified. -
IT is the definition of an entire database.
It defines the structure and the type of contents that each data element within the structure can contain.
Within each schema is database objects like tables, views and previledges.Leave a comment:
-
Thanks for ur reply yadav....
wat is the difference from using
Code:select * from tab (select tname from tab) --and select * from user_tables
wat is the previledges offered by a dba in such scenarios to a normal user....Leave a comment:
-
wat is a cursor
how can a cursor be written and wat for it is written....its scope and clnstraints... -
query to get list of tables
How to list all the tables created in oracle.
how to create views on tables and wat r they for...im very new to oracle...pls help me..
No activity results to display
Show More
Leave a comment: