Click here to Skip to main content
15,887,267 members
Home / Discussions / Database
   

Database

 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Miguel Quintanilla20-May-13 8:41
Miguel Quintanilla20-May-13 8:41 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Eddy Vluggen20-May-13 8:49
professionalEddy Vluggen20-May-13 8:49 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Miguel Quintanilla20-May-13 9:09
Miguel Quintanilla20-May-13 9:09 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Eddy Vluggen20-May-13 9:51
professionalEddy Vluggen20-May-13 9:51 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Miguel Quintanilla20-May-13 16:23
Miguel Quintanilla20-May-13 16:23 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Eddy Vluggen20-May-13 19:45
professionalEddy Vluggen20-May-13 19:45 
AnswerRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Mycroft Holmes16-May-13 21:24
professionalMycroft Holmes16-May-13 21:24 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Miguel Quintanilla20-May-13 7:09
Miguel Quintanilla20-May-13 7:09 
Hi many thanks for all the help you give me. here is my problem i want to use me of this:
this i have on toad:
-- run every 5 MINUTES
BEGIN
dbms_scheduler.create_schedule(
schedule_name => 'INTERVAL_EVERY_5_MINUTES',
start_date => trunc(sysdate)+18/24,
repeat_interval => 'freq=MINUTELY;interval=5',
comments => 'Runtime: Every day all 5 minutes');
END;
/
begin
-- Call a procedure of a database package
dbms_scheduler.create_program
(program_name=> 'PROG_COLLECT_SESS_DATA',
program_type=> 'STORED_PROCEDURE',
program_action=> '?????? i dont have this yet',
enabled=>true,
comments=>'Procedure to collect session information'
);
end;

begin
-- Connect both dbms_scheduler parts by creating the final job
dbms_scheduler.create_job
(job_name => 'JOB_COLLECT_SESS_DATA',
program_name=> 'PROG_COLLECT_SESS_DATA',
schedule_name=>'INTERVAL_EVERY_5_MINUTES',
enabled=>true,
auto_drop=>false,
comments=>'Job to collect data about session values every 5 minutes');
end;

I AM GOING TO USE THIS SCHEDULED JOB AND NOW I WANT TO CREATE MY SQL AND I HAVE A LITTLE BIT OF TROUBLE.
I HAVE DONE THIS DBLINK:
CREATE DATABASE LINK DB_2 CONNECT TO COMPUSOFT IDENTIFIED BY albosapam02 USING 'inv2'
AND THEN I HAVE DONE THIS:


SELECT * FROM PESAJE
MINUS
SELECT * FROM PESAJE@DB_2
IT GIVES ME A RESULT BUT NOW I WANT TO INSERT THAT RESULT IN THE DB_2 AND STORE THE QUERY SO I CAN ALL IT ON THE JOB..
aNY HELP???
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Mycroft Holmes20-May-13 12:25
professionalMycroft Holmes20-May-13 12:25 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Miguel Quintanilla20-May-13 16:11
Miguel Quintanilla20-May-13 16:11 
QuestionCreate a procedure to change date value of a column in a table ? (SQL) Pin
taibc15-May-13 21:09
taibc15-May-13 21:09 
AnswerRe: Create a procedure to change date value of a column in a table ? (SQL) Pin
Corporal Agarn16-May-13 1:18
professionalCorporal Agarn16-May-13 1:18 
GeneralRe: Create a procedure to change date value of a column in a table ? (SQL) Pin
taibc16-May-13 3:41
taibc16-May-13 3:41 
GeneralRe: Create a procedure to change date value of a column in a table ? (SQL) Pin
Corporal Agarn16-May-13 3:49
professionalCorporal Agarn16-May-13 3:49 
AnswerRe: Create a procedure to change date value of a column in a table ? (SQL) Pin
Eddy Vluggen16-May-13 3:16
professionalEddy Vluggen16-May-13 3:16 
GeneralRe: Create a procedure to change date value of a column in a table ? (SQL) Pin
taibc16-May-13 3:34
taibc16-May-13 3:34 
GeneralRe: Create a procedure to change date value of a column in a table ? (SQL) Pin
Eddy Vluggen16-May-13 3:48
professionalEddy Vluggen16-May-13 3:48 
GeneralLooking for the best solution Pin
MacAriel15-May-13 8:40
MacAriel15-May-13 8:40 
QuestionDeploying SSIS Package and calling it from Console application Pin
indian14315-May-13 7:28
indian14315-May-13 7:28 
AnswerRe: Deploying SSIS Package and calling it from Console application Pin
unclepaul15-May-13 8:47
unclepaul15-May-13 8:47 
AnswerRe: Deploying SSIS Package and calling it from Console application Pin
Mycroft Holmes15-May-13 18:00
professionalMycroft Holmes15-May-13 18:00 
QuestionCreate trigger that executes on date Pin
damokk15-May-13 3:54
damokk15-May-13 3:54 
AnswerRe: Create trigger that executes on date Pin
Corporal Agarn15-May-13 6:31
professionalCorporal Agarn15-May-13 6:31 
AnswerRe: Create trigger that executes on date Pin
Mycroft Holmes15-May-13 17:55
professionalMycroft Holmes15-May-13 17:55 
GeneralRe: Create trigger that executes on date Pin
damokk15-May-13 23:06
damokk15-May-13 23:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.