I have one table and column is c1 pk, c2 not null,c3 not
null and 200 row in it and i add c4 column and value, how
can is possible

Answer Posted / manoj

1.
alter table <table_name>
add column<col_name> <data_type>[not null];

2.
for inserting values

Depends: if u have data in another table than u can insert
by making small packege (using cursor)

OR :u can also sequence to insert

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of %rowtype?

537


What has stored procedures in sql?

605


What are different types of keys?

526


what are the advantages and disadvantages of views in a database? : Sql dba

535


How many triggers can be applied on a table?

515






Can we use pl sql in mysql?

521


Which operator is used in query for pattern matching?

631


What is trigger types in sql?

537


Is primary key an index?

539


Can 2 queries be executed simultaneously in a distributed database system?

649


What is using in sql?

570


what are the advantages of sql ? : Sql dba

552


What is primary key secondary key alternate key candidate key?

548


Why do we use sqlite?

537


What is the purpose of the primary key?

568