Create table emp
(id number(9), name varchar2(20),salary
number(9,2));
The table has 100 records after table created.Now i nee to
change id's Datatype is to be Varchar2(15). now
Alter table emp modify(id varchar2(15),name varchar2(20),
salary number(9,2));
Whether it will work or returns error? post answer with
explanation.
Answer Posted / ramesh
It will work 100%.
becos. we are increasing the length. if we are decreasing
the length then it gives error.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is pivot in sql?
What is union and union all keyword in sql?
What is pl sql record in oracle?
Can triggers stop a dml statement from executing on a table?
Why we use join in sql?
What does the file extension accdb stand for?
What are some emotional triggers?
Is big data nosql?
what is try_catch block in procedure
Differentiate pl/sql and sql?
Is progress software supports to ( pl/sql )?
what tools available for managing mysql server? : Sql dba
How many tables can a sql database have?
What is the maximum number of triggers, you can apply on a single table?
What is orm in sql?