C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Oracle Schedular


Posted Date: 29 Aug 2008      Total Responses: 1

Posted By: Nagamalleswari       Member Level: Silver     Points: 1


Hi all,
This is my oracle scheduler
begin
dbms_scheduler.create_job
(
job_name => 'streams_heartbeat_job',
job_type => 'PLSQL_BLOCK',
job_action => ' insert into a values(12);',
start_date => SYSTIMESTAMP,
repeat_interval => 'freq=secondly; interval=15',
enabled => TRUE,
comments => 'Streams heartbeat job from site A'
);
end;

here i am inserting some value in to table 'a'

but i need to read 'b' table data and i need to inert the values in 'a' table.


Please any one help me.

thanks,
Malleswari.




Responses

Author: D.Jeya kumar(JK)    29 Aug 2008Member Level: DiamondRating:     Points: 4
Hi,



Insert into aSelect * from b

begin
dbms_scheduler.create_job
(
job_name => 'streams_heartbeat_job',
job_type => 'PLSQL_BLOCK',
job_action => ' Insert into aSelect * from b ;',
start_date => SYSTIMESTAMP,
repeat_interval => 'freq=secondly; interval=15',
enabled => TRUE,
comments => 'Streams heartbeat job from site A'
);
end;




Regards
JK



Post Reply
You must Sign In to post a response.
Next : Which one is best
Previous : photoshop
Return to Discussion Forum
Post New Message
Category: General

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

SPOC

Contact Us    Privacy Policy    Terms Of Use