Writinf PL/SQL Code for multiple Database Versions