Check out example codes for "sql server drop table if exists". It will help you in understanding the concepts better.

Code Example 1

IF OBJECT_ID('dbo.Scores', 'U') IS NOT NULL DROP TABLE dbo.Scores;

Code Example 2

DROP TABLE IF EXISTS dbo.Customers

Learn ReactJs, React Native from akashmittal.com