How to delete / drop SQL table?

How to delete / drop SQL table?

0

How to delete / drop SQL table? The following code will guide you to drop the temporary SQL table. Basically, you just need to type in ‘DROP TABLE tableName‘.

IF OBJECT_ID(N’tempdb..#temptable’, N’U’) IS NOT NULL
DROP TABLE #temptable;
GO