what is the syntax of ALTER command?

Answer Posted / rajini

alter table tablename add(colname datatype,colname1
datatype...);
alter table tablename modify(colname datatype,colname1
datatype..);

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a nested table?

628


What are the major difference between truncate and delete?

519


I just want to maintain data like an employee can belongs to 3 or more departments . We can resolve this by using composite key but it avoids normalization rules. So Can anyone tell me how can I maintain data.

1704


What do you mean by merge in oracle and how can we merge two tables?

577


How does the on-delete-cascade statement work?

608






State the various uses of dbcc command?

551


Explain joins in oracle?

561


Explain the importance of .pll extension in oracle?

555


Differentiate between post-database commit and post-form commit?

543


How to create an oracle database?

584


6. Display the client name and order date for all orders using the traditional method.

1751


In XIR2 if we lost the administration password .How can we regain the password?thanks in advance.

1470


What is a view and how is it different from a table?

574


How to select some columns from a table in oracle?

553


What happens to indexes if you drop a table?

700