Using Oracle cursors in the etl scenario