Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to delete an attribute from the emp table

Answer Posted / sonia

Using the DROP COMMAND-
See the eg below--

create table stup(roll int,name varchar,marks int)
insert into stup values(1,'A',10)
insert into stup values(2,'B',20)
select * from stup
Alter table stup drop column marks
select * from stup

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain full-text query in sql server?

994


How and why use sql server?

989


What is an identity column in insert statements?

1002


What is the federation in sql azure?

95


Explain what is cte (common table expression)?

1107


How to add a new column to an existing table with "alter table ... Add" in ms sql server?

985


How to defragment table indexes?

962


Define right outer join in sql server joins?

1022


What is molap and its advantage? : sql server analysis services, ssas

965


Difference between Logical Page and Physical Page in SSRS.

472


What happens if null values are involved in string operations?

964


how to take backup bcp out for a column in table in sql server?

2081


Do you know what is blocking?

931


What is the significance of master, tempdb and model databases?

1063


What is tablesample?

1087