Answers for "sql drop column if exists"

SQL
8

sql drop table if exists

DROP TABLE IF EXISTS dbo.Customers
Posted by: Guest on March-06-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
1

drop column if exists sql server

-- SQL Server
ALTER TABLE t DROP COLUMN IF EXISTS col1, 
                   COLUMN IF EXISTS col2;
Posted by: Guest on August-13-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language