User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Oracle section within the Web Development category of DaniWeb, a massive community of 332,663 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,349 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Oracle advertiser:
Views: 175 | Replies: 2 | Solved
Reply
Join Date: Apr 2008
Posts: 33
Reputation: veledrom is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
veledrom veledrom is offline Offline
Light Poster

Trigger error

  #1  
12 Days Ago
Hi,
Where is the mistake? It doesn't work. thanks

CREATE OR REPLACE TRIGGER A_ACCOUNT_EKLEME
BEFORE INSERT ON A_SIPARIS

CURSOR CURSOR_TARIH IS 
SELECT TARIH FROM A_ACCOUNT where TARIH = SYSDATE;

FOR EACH ROW
BEGIN
    
    IF CURSOR_TARIH%NOTFOUND THEN
      INSERT INTO A_ACCOUNT (TARIH, PRICE) VALUES (SYSDATE, '1');
    END IF;
END;
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 1,577
Reputation: peter_budo has a spectacular aura about peter_budo has a spectacular aura about 
Rep Power: 8
Solved Threads: 156
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Posting Virtuoso

Re: Trigger error

  #2  
7 Days Ago
You marked this post as solved. Did you find solution? Would you mind to share it with otheres?
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Reply With Quote  
Join Date: Apr 2008
Posts: 33
Reputation: veledrom is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
veledrom veledrom is offline Offline
Light Poster

Re: Trigger error

  #3  
7 Days Ago
I just changed the logic of my project. Therefore, i don't use it.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Oracle Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Oracle Forum

All times are GMT -4. The time now is 3:35 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC