How to delete an attribute from the emp table

Answer Posted / amit srivastava

create table stup(roll int,name varchar,marks int)
select * from stup
Alter table stup drop column marks
select * from stup

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know nested transaction?

606


What do you mean by SQL injection attack?

717


What is the function of inner join?

648


How can sql server instances be hidden?

609


What is “begin trans”, “commit tran”, “rollback tran” and “savetran”?

679






What stored procedure can you use to display the current processes?

568


What is join and name different type of joins?

671


What is a join in sql?

659


What is it’s similarity with sql server?

149


Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?

2174


What are the restrictions that views have to follow?

640


Tell me about normalization in DBMS.

681


You want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition?

626


what is normalization? : Sql server database administration

619


How to bind a view to the schema of the underlying tables?

664