Using SQL/PL in the etl scenario