Solved

delete a column from table

Posted on 2011-02-22
4
254 Views
Last Modified: 2012-05-11
delete a column from table

column1
table1
0
Comment
Question by:rgb192
  • 3
4 Comments
 
LVL 23

Expert Comment

by:Rajkumar Gs
ID: 34953760
ALTER TABLE table1column1
DROP COLUMN ColumnName
0
 
LVL 23

Expert Comment

by:Rajkumar Gs
ID: 34953761
Oops!
ALTER TABLE table1
DROP COLUMN ColumnName

Open in new window

0
 
LVL 23

Accepted Solution

by:
Rajkumar Gs earned 125 total points
ID: 34953768
For the table name and column name that you mentioned, it would be
ALTER TABLE table1
DROP COLUMN column1

Open in new window

0
 

Author Closing Comment

by:rgb192
ID: 34954256
thanks
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now