What is the use of the DROP option in the ALTER TABLE command?

It is used to drop constraints specified on the table.

Showing Answers 1 - 3 of 3 Answers

Naveen Mishra

  • Jul 18th, 2005
 

DROP option can be used to drop a col from table as well. 
Alter table tname drop column colName;

  Was this answer useful?  Yes

Anuradha

  • Oct 13th, 2005
 

Ans:

The given answer says the use of DROP command.but not the drop option in the ALTER TABLE command.

       Drop option in the ALTER TABLE command is uesd to drop columns you no longer need from the table.

  • The column may or may not contain data
  •  using alter column statement only one column can be dropped at a time.
  • The table must have at least one column remaining in it after it is altered.
  • once a column is dropped,it cannot be recovered.

chitra

  • Nov 14th, 2005
 

The rtrim function requires 1 arguments.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions