hi,

FOR referrer_keys2 IN SELECT OBJID1 FROM '' || strRollentab ||'' where qualitaet = '' || referrer_keys.QUALITAETNR || '' AND OBJID1 = '' || NEW.ID || '' LOOP
RAISE NOTICE '' inside the other...... %'', referrer_keys.ROLLENTABELLE;
END LOOP;