Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by oraprog

  1. oraprog

    How to calculate period date

    Thanks Dagon for replay
  2. oraprog

    How to calculate period date

    I mean, check start_date between START_PERIOD_DATE and END_PERIOD_DATE
  3. oraprog

    How to calculate period date

    Following is the scenario: CREATE TABLE EMP_VACATION( EMP_NO NUMBER(3), VAC_TYPE NUMBER(1), START_DATE DATE, END_DATE DATE, START_PERIOD_DATE DATE, END_PERIOD_DATE DATE, PRIMARY KEY (EMP_NO,VAC_TYPE,START_DATE)) INSERT VALUES EMP_VACATION(EMP_NO,VAC_TYPE,START_DATE,END_DATE) VALUES(1, 1...
  4. oraprog

    Help , how to transfer data and processing

    Tahnks a lot Dagon
  5. oraprog

    Help , how to transfer data and processing

    then store in table test2 :: emp_no e_date serial_no p_no_amount_x p_no_amount_y p_no_amount_z p_no_amount_w ====== ====== ======= =========== ========= ========== ======== 1 2002-01-30 1 30 35 100 90...
  6. oraprog

    Help , how to transfer data and processing

    Following is the scenario: create table test1 ( emp_no number, p_no varchar2(2), p_amount number(10), ) insert into test1 values (1, 'x', 10 ); insert into test1 values (1, 'x', 20 ); insert into test1 values (1, 'y', 35 ); insert into test1 values (1, 'z', 60 ); insert into test1...
  7. oraprog

    ora-04091,ORA-06512,ORA-04088 mutating ?

    Thanks a lot Dagon. Thanks for your efforts,,,
  8. oraprog

    ora-04091,ORA-06512,ORA-04088 mutating ?

    THNKS A LOT , I need to dynamic code , no hard code , So that it works (trigger) when the repetition of the situation, insert into his (emp_no, start_date, end_date) values (rec.emp_no, store_his.hisUpd(i).end_date, to_date('2005-01-01', 'YYYY-MM-DD'));
  9. oraprog

    ora-04091,ORA-06512,ORA-04088 mutating ?

    Thanks a lot see store record: 2001-10-10 2005-01-01 ok when i insert new reocrd start_date & end_date nested between store record start_date & end_date :::>>> 2001-10-10 ( 2002-01-30 - 2003-09-01 ) 2005-01-01I Need to separate the dates and the distribution on record for same emp_no :::>>>...
  10. oraprog

    ora-04091,ORA-06512,ORA-04088 mutating ?

    assuming one record store in the table HST, create table(emp_no,start_date,end_date) primary_key(emp_no,start_date) ---------------------------------------:::: emp_no start_date end_date ------- ---------- ---------- 10 2001-10-10 2005-01-01...
  11. oraprog

    ora-04091,ORA-06512,ORA-04088 mutating ?

    I create this trigger: CREATE OR REPLACE TRIGGER T_HST AFTER INSERT On HST FOR EACH ROW DECLARE Begin INSERT INTO HST (EMP_NO, START_DATE ) SELECT EMP_NO, SYSDATE FROM HST WHERE EMP_NO = :NEW.EMP_NO; End T_HRS_SAL_PERIOD_HSTY_UPD_PRI; / when I insert a new...

Part and Inventory Search

Back
Top