Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / imran

It wo'nt work because if there is an data exist in
(id number(9)).You cannot modify if colmun is not empty.

Is This Answer Correct ?    15 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

define sql update statement ? : Sql dba

1051


how to fetch alternate records from a table? : Sql dba

1053


Explain about various levels of constraint.

887


Define commit, rollback and savepoint?

979


how to analyze tables with 'mysqlcheck'? : Sql dba

960


What does count (*) mean in sql?

1519


What is the advantage of index in sql?

917


What are the uses of merge?

1120


What is the order of sql select?

989


what is the use of friend function? : Sql dba

974


Who developed sql?

962


how to use 'mysql' to run sql statements? : Sql dba

986


What are the steps for performance tuning.

1272


How to raise user-defined exception with custom sqlerrm ?

1063


What does sql stand for?

947