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

What is t sql in sql server?

1075


how to use case expression? : Sql dba

1028


What is record data type?

918


What is the execution plan in sql?

1023


Why is stored procedure faster than query?

961


What is record in pl sql?

1084


how would you enter characters as hex numbers? : Sql dba

985


Is pl sql different from sql?

1001


What is difference between procedure and trigger?

982


What is the difference between inner join and left join?

989


Is sql an operating system?

1020


Write a query to display the current date in sql?

1022


Can we insert in sql function?

1089


Is a view faster than a stored procedure?

970


how can we know the number of days between two given dates using mysql? : Sql dba

1048