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

Explain the microsoft sql server delete command? : SQL Server Architecture

1143


What is temporary table in sql server? Why we use temp table?

993


What is a partition key?

1028


How to filter records of table in SQL SERVER?

1128


what is the primary use of the model database? : Sql server administration

1094


How can you set the threshold at which sql server will generate keysets asynchronously?

1049


How important do you consider cursors or while loops for a transactional database?

1009


Can you give me some DBCC command options?(Database consistency check) - DBCC CHECKDB - Ensures that tables in the db and the indexes are correctly linked.and DBCC CHECKALLOC - To check that all pages in a db are correctly allocated. DBCC SQLPERF - It gives report on current usage of transaction log in percentage. DBCC CHECKFILEGROUP - Checks all tables file group for any damage.

2567


How many types of triggers are there?

1116


What are the aggregate and scalar functions?

1128


Explain error and transaction handling in sql server?

1060


What is delete query?

990


What is scheduled job and how to create it?

1037


Where the sql logs gets stored? : sql server database administration

1012


What is difference between foreign key and unique key?

1046