•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Oracle section within the Web Development category of DaniWeb, a massive community of 423,232 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 5,049 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: Programming Forums
Views: 875 | Replies: 2 | Solved
![]() |
•
•
Join Date: Apr 2008
Posts: 195
Reputation:
Rep Power: 1
Solved Threads: 0
Hi,
I can't find the missing thing in this code. "05-MAY-08" is in the table but,
Thanks
I can't find the missing thing in this code. "05-MAY-08" is in the table but,
( CURSOR_TARIH%FOUND ) never returns TRUE. When i do manuel query it is ok.Thanks
create or replace
PROCEDURE A_SIPARIS_EKLE_SP
IS
CURSOR CURSOR_TARIH IS
SELECT TARIH FROM A_ACCOUNT WHERE TARIH = to_date('05-MAY-08', 'DD-MM-YY');
BEGIN
OPEN CURSOR_TARIH;
INSERT INTO A_SIPARIS (MID,STATUS) VALUES (1, 'NO');
IF ( CURSOR_TARIH%FOUND ) THEN
UPDATE A_ACCOUNT SET PRICE = '10' WHERE TARIH = to_date('05-MAY-08', 'DD-MM-YY');
ELSE
INSERT INTO A_ACCOUNT( TARIH, PRICE) values ( SYSDATE, '1' );
END IF;
COMMIT;
CLOSE CURSOR_TARIH;
END;•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,432
Reputation:
Rep Power: 11
Solved Threads: 295
![]() |
•
•
•
•
•
•
•
•
DaniWeb Oracle Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Crash/Boot up Problem (Troubleshooting Dead Machines)
- Another trojan.cachecachekit problem....help appreciated! (Viruses, Spyware and other Nasties)
- Another Trojan-Spy.HTML.smitfraud.c problem (Viruses, Spyware and other Nasties)
- drifting cursor and touchy touch pad (Peripherals)
- Mouse problem (Windows NT / 2000 / XP / 2003)
- Spyware? hijacked cursor at "2:Open" sign (Viruses, Spyware and other Nasties)
- Setting Up The Cursor Position (C++)
- Finder can't be found! (OS X)
- No cursor in hotmail for reply or compose...any body else have this problem? (Web Browsers)
- Did My computer break? (Troubleshooting Dead Machines)
Other Threads in the Oracle Forum
- Previous Thread: Error 3509 In TNSPING...
- Next Thread: Trigger error



Linear Mode