Check for existence before dropping

suggest change
DROP TABLE IF EXISTS MyTable;
DROP TABLE IF EXISTS MyTable;
If Exists(Select * From Information_Schema.Tables
          Where Table_Schema = 'dbo'
            And Table_Name = 'MyTable')
  Drop Table dbo.MyTable
DROP TABLE IF EXISTS MyTable;

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


DROP Table:
*Check for existence before dropping

Table Of Contents