I have searched a lot but i could not find a query which will apply to any RDBMS to check whether a table exits. Some are ok with mysql and h2 but its not compatible with oracle. Any one has a solution for this.
This works for oracle but not h2 or mysql
select count(*) as tblCount from user_tables where table_name = 'ALERTS_HISTORY';