Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 10th, 2005, 05:25 AM
rvzuniga rvzuniga is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 2 rvzuniga User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 8 sec
Reputation Power: 0
Oracle Trigger Automatically Deleted

Hi all!

im just wondering why my trigger was automatically deleted.. is there anyone could help me. anyway, below is my script.

CREATE OR REPLACE TRIGGER TRGR_DLY01_ELECTRA
AFTER INSERT ON "DLY01" FOR EACH ROW

begin
insert into ELECTRA_BAL (ACCTNMBR,AVAIL_BAL,TRXMNCODE,
TRXTYPE,DATEPOST,TIMETXN,SEQNMBR,TRANAMT,BRNCHNMBR,TELLERID)
values(:NEW.ACCTNMBR,:NEW.AVAIL_BAL,:NEW.TRXMNCODE,:NEW.TRXTYPE,
:NEW.DATEPOST,:NEW.TIMETXN,:NEW.SEQNMBR,:NEW.TRANAMT,
:NEW.BRNCHNMBR,:NEW.TELLERID);

delete from ELECTRA_BAL where trxmncode in ('ASW ','ASC ');

delete from ELECTRA_BAL
where acctnmbr not in (select acctnmbr from mstr01 where llnmbr = 1);

update ELECTRA_BAL set status = 'N' where status is null;
end;



Thanks in advance!
Cheers!

Reply With Quote
  #2  
Old May 10th, 2005, 09:24 AM
paulh1983 paulh1983 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Dec 2004
Posts: 1,255 paulh1983 User rank is Sergeant (500 - 2000 Reputation Level)paulh1983 User rank is Sergeant (500 - 2000 Reputation Level)paulh1983 User rank is Sergeant (500 - 2000 Reputation Level)paulh1983 User rank is Sergeant (500 - 2000 Reputation Level)paulh1983 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 15 h 14 m
Reputation Power: 18
did that happen again or just once? dont think it would be anything to do with whats actually in the trigger.

Reply With Quote
  #3  
Old May 12th, 2005, 09:26 PM
rvzuniga rvzuniga is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 2 rvzuniga User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 8 sec
Reputation Power: 0
Quote:
Originally Posted by paulh1983
did that happen again or just once? dont think it would be anything to do with whats actually in the trigger.


yeah it did! that is why im trying to get any comment from this forum. actually after i created the trigger, i tried to shutdown the unix server just to simulate if the trigger will be deleted after the shutdown, but it does not.
Thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Oracle Trigger Automatically Deleted


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT