I have some SQL code that needs to be executed if a certain View exists in a database. How would I go about checking if the View exists?
EDIT: The DBMS being used is Mic
if it's Oracle you would use the "all_views" table.
It really depends on your dbms.