This is just a small script that will auto-check the system to see if the view or the table that you want to drop already exists in the system or not.
- To use this script pass the type as the first parameter. Type can either be a table or a view.
- The second arguement is the table or view name
- The third arguement is optional. If passed as 1 it will return the drop statement.