cursor CUR (campo in varchar2) is
SELECT *
FROM table
WHERE field = campo
e poi
for rec in cur('value') loop