pl-sql-general: functions, cursors