here's my cursor statement
cursor empCur(cname varchar2) is
select empID, name
from employee, country
where lower(country_name) = lower(cname);
and call like this
countryName := '&countryname';
open empCur(countryName);
fetch empCur into ...
The variable countryName is declared along with the cursors, and this query runs fine but no data is fetched. no idea what I'm missing here..