anonymous
2006-09-27 14:42:57 UTC
cursor complaint_cursor is
select rental_date
from rental
where rental.rental_no = rental_no_in;
cursor_row complaint_cursor%rowtype;
v_tenant_name varchar2(30) := '';
c_count number(2) := 0;
v_tenant_name := tenant_function(rental_no_in);
c_count := complaints_qty(rental_no_in);
begin
for complaint_row in complaint_cursor
loop
dmbs_output.put_line(v_tenant_name||' '||complaint_row.rental_date||
' '||c_count);
end loop;
end;
Here is the error message that Oracle throws right at me.
ERROR at line 10: PLS-00103: Encountered the symbol "=" when expecting one of the following:
constant exception
table LONG_ double ref
char time timestamp interval date binary national character
nchar
The symbol "" was substituted for "=" to continue.
1. create or replace procedure complaint_details(rental_no_in IN number) IS
2.
3. cursor complaint_cursor is