Collections:
"DROP TABLE" - Deleting Existing Tables in SQL Server
How To Drop an Existing Table with "DROP TABLE" Statements in SQL Server?
✍: FYIcenter.com
If you want to delete an existing table and its data rows, you can use the "DROP TABLE" statement as shown in the tutorial script below:
SELECT * FROM tipBackup GO id subject description create_date 1 Learn SQL Visit dev.fyicenter.com 2006-07-01 DROP TABLE tipBackup GO SELECT * FROM tipBackup GO Msg 208, Level 16, State 1, Line 1 Invalid object name 'tipBackup'.
Be careful, when you use the "DROP TABLE" statement. All data rows are gone too.
⇒ Understanding and Managing Indexes in SQL Server
⇐ "sp_rename ... 'OBJECT'" - Renaming Existing Tables in SQL Server
2016-11-15, 2659🔥, 0💬
Popular Posts:
How To Break Query Output into Pages in MySQL? If you have a query that returns hundreds of rows, an...
How To Query Tables and Loop through the Returning Rows in MySQL? The best way to query tables and l...
How To Get the Definition of a View Out of the SQL Server in SQL Server? If you want get the definit...
Where to find answers to frequently asked questions on INSERT, UPDATE and DELETE Statements in MySQL...
How To Update Multiple Rows with One UPDATE Statement in SQL Server? If the WHERE clause in an UPDAT...