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
how to get help information from the server? : Sql dba
What are user defined functions?
Can a composite key be null?
What are the commands used in sql?
When to use inner join and left join?
What is dbo in sql?
What are system versioned tables?
What is rank () in sql?
What are the advantages of normalization?
What is the current version of sql?
What are the different set operators available in sql?
How do you exit in sql?
how to include character strings in sql statements? : Sql dba
What is full form of rtm?
Write a query to find the names of users that begin with "um" in sql?