Ease Access database maintenance with the Alter Table command
Takeaway: When you need to make a number of changes to your Access database, the Alter Table command can help. Learn how you can use the command to quickly add or delete fields in an Access table.
When you need to make a number of quick changes to your database, the Alter Table command can help. You can use the command to quickly add or delete fields in a table.
For example, to add a new Mobile_Phone field to the Employees table, follow these steps:
- Open the database containing the Employees table, then click Queries in the objects list in the database window.
- Click New, Design View, and OK.
- Click Close.
- Go to Query | SQL Specific | Data Definition.
- Enter
the following statement:
ALTER TABLE Employees ADD COLUMN Mobile_Phone TEXT - Click Run.
You can verify that the field was added by opening the
Employees Table in Design View. To delete a field, you would use the following
statement:
ALTER TABLE Employees DROP COLUMN Mobile_Phone.
Miss a tip?
Check out the Microsoft Access archive, and catch up on our most recent Access tips.
Help users increase productivity by automatically signing up for TechRepublic's free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.
Print/View all Posts Comments on this article
SponsoredWhite Papers, Webcasts, and Downloads
- Simple Tricks to Ace the Subnetting Portion of Any Certification Exam Global Knowledge
- 7 Things Every System Administrator Should Know About OpenSSH Global Knowledge
- Eleven Myths about 802.11 Wi-Fi Networks Global Knowledge
- The Case for Virtual Local Area Networks (VLANs) Global Knowledge
- Geek-Speak Glossary: A Manager's Guide to IT Terminology Global Knowledge
Article Categories
- Security
- Security Solutions, IT Locksmith
- Networking and Communications
- E-mail Administration NetNote, Cisco Routers and Switches
- CIO and IT Management
- Project Management, CIO Issues, Strategies that Scale
- Desktops, Laptops & OS
- Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
- Data Management
- Oracle, SQL Server
- Servers
- Windows NT, Linux NetNote, Windows Server 2003
- Career Development
- Geek Trivia
- Software/Web Development
- Web Development Zone, Visual Basic, .NET





