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 / subbarayulu
It Will not work properly. when ever the table with data
user can't chage the column's datatype. It allows to
increase the size of the data type only.
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
What is the use of prepared statement?
How to make a copy values from one column to another in sql?
where are cookies actually stored on the hard disk? : Sql dba
Explain what is a database?
What can I use instead of union in sql?
How can we avoid duplicating records in a query?
What is coalesce in sql?
What does <> sql mean?
How you improve the performance of sql*loader? : aql loader
Can you sum a count in sql?
Explain what is table in a database?
What does data normalization mean?
What is inner join in sql?
Suppose a student column has two columns, name and marks. How to get name and marks of the top three students.
How to run sql statements through the web interface?