Sorry, I was not clear about the environmment in which it runs. It is executed exclusively in Oracle. I have been debating whether to use maybe SAS HASH or SAS formats or even PL/SQL.