Microsoft Access Database Development With VBA

SQL Keywords: DROP

   

Introduction

The DROP keyword is used to delete an object. It can be used to remove a column from a table. The formula to use is:

ALTER TABLE TableName DROP COLUMN ColumnName;

or

ALTER TABLE TableName
DROP COLUMN ColumnName

Here is an example:

ALTER TABLE Employees DROP COLUMN DateHired;
   
     
 

Home Copyright © 2013 FunctionX, Inc. Home