15
Sep
Posted by Jayce as Programming
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
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Tags: delete, drop, SQL, table
RSS feed for comments on this post · TrackBack URI
Leave a reply