pl-sql-general: loops