If we have n no of columns in a table, can we add new
column in that table with not null constraint?
Answer Posted / chandan kumar
If table is empty (means no records are there) then we can
add the constraint.
alter table tablename add (col_name datatype not null)
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How do I clear the screen in sql plus?
Can we use joins in subquery?
What is a join query?
What is on delete set null?
Is sql a case sensitive language?
What is record type in pl sql?
What is a sql select statement?
What is sql*loader and what is it used for?
What is the difference between cluster and non-cluster index?
how to extract a unit value from a date and time? : Sql dba
what is commit? : Sql dba
what are the advantages of mysql in comparison to oracle? : Sql dba
What does varchar include?
Which type of cursor is used to execute the dml statement?
Does sql*plus also have a pl/sql engine?