sql scripts for oracle 10g and 11g