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 / rinson
It will raise error ora-1439 column to be modifiedy must be
empty to change datatype.
| Is This Answer Correct ? | 26 Yes | 2 No |
Post New Answer View All Answers
Can we use pl sql in sql server?
How do you modify a trigger?
What are aggregate functions in sql?
Can you selectively load only those records that you need? : aql loader
Why do we need unique key in a table?
What is snowflake sql?
What is left join in postgresql?
how to convert dates to character strings? : Sql dba
What are the different types of tables in sql?
Can 2 queries be executed simultaneously in a distributed database system?
Name some usages of database trigger?
What is the reports view in oracle sql developer?
What is integrity in sql?
what are the different type of normalization? : Sql dba
How to prepare for oracle pl sql certification?