--================================================================================================================================= -- Drop External Table template for Azure SQL Database, Azure Synapse Analytics Database, and Azure Synapse SQL Analytics on-demand --================================================================================================================================= IF EXISTS ( SELECT * FROM sys.tables JOIN sys.schemas ON sys.tables.schema_id = sys.schemas.schema_id WHERE sys.schemas.name = N'' AND sys.tables.name = N'' ) DROP EXTERNAL TABLE . GO