Oracle10gR2 analysis function