Solved

delete a column from table

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

column1
table1
0
Comment
Question by:rgb192
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

623 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