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

How many types of literals are available in pl sql?

1184


How do you explain an index number?

1190


What is a unique key and primary key and foreign key?

1032


Why do we use %rowtype & %type in plsql?

1105


What is trigger in flip flop?

1063


Is sql port 1433 encrypted?

1093


What is the use of desc in sql?

1029


What is the difference between sql, mysql and sql server?

1187


How do you truncate?

960


what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql

1020


What does select top 1 do in sql?

1149


what are all the different normalizations? : Sql dba

1130


Can we use insert statement in function?

1054


What is the usage of when clause in trigger?

1101


what is the different between now() and current_date()? : Sql dba

1081