PL/SQL-question

Open discussion about any topic, as long as you abide by the rules of course!
Post Reply
diego
Posts: 1379
Joined: Mon Jan 24, 2005 12:25 pm

PL/SQL-question

Post by diego »

Hey community,

I try to write an explicit Cursor in PL/SQL but.. it just won't work. Here is the suspected part of Code:

Code: Select all

Begin
     Update wwage set wwage=wwage + 1000 where year = 98
     and month = 2;
	If SQL%found then
		DBMS_output.put_line ('amount of wages in February 98:' || SQL%rowcount);
	End if;
End;
/
Is there anything awkward with it? It seems totally correct syntax-wise... :paranoid:
User avatar
GONNAFISTYA
Posts: 13369
Joined: Sun Jan 23, 2005 8:20 pm

Post by GONNAFISTYA »

Nerd.
Post Reply