Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

2022-11-02

Write a procedure for deleting tables in the database.


The solution in the form of a script put on the Platform Platon in: solution_2022_11_2

Help
Table List
SELECT name FROM SYSOBJECTS where type='U';

For deleting table, we can use: Drop table (table name)

For deleting column, we can use: ALTER TABLE dbo.doc_exb DROP COLUMN column_name;
GO
1

You might also like