Answers for "if table exitst drop table"

SQL
4

sql server drop table if exists

IF OBJECT_ID('dbo.Scores', 'U') IS NOT NULL DROP TABLE dbo.Scores;
Posted by: Guest on April-22-2020
1

sql drop table if exists

IF OBJECT_ID('dbo.Scores', 'U') IS NOT NULL 
  DROP TABLE dbo.Scores;
Posted by: Guest on October-27-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language