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 / sathish p
We cant change column datatype while the column having
values.. Bcos error will come when u run the Alter table
modify statement...
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What can sql server reporting services do?
how to install mysql? : Sql dba
Write a query to find the names of users that begin with "um" in sql?
What is a trigger in sql?
What does rownum mean in sql?
What are the different types of dbmss?
How to sort the rows in sql.
What are inner and outer joins examples of both?
Is sqlite free?
How can a function retun more than one value in oracle with proper example?
Can we insert data in view?
What is pls integer?
How much does a sql dba make? : SQL DBA
Give the order of sql select?
How many commands are there in sql?