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

It will work your query 100% will work

Chers
Taj

Is This Answer Correct ?    9 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql

543


what is the difference between join and union? : Sql dba

554


What is the difference between delete and truncate commands?

517


Why is pl sql needed?

517


What is group by in sql?

550






What is forward declaration in pl sql?

590


what is the difference between primary key and unique key? : Sql dba

533


What is the best free sql database?

572


what is foreign key? : Sql dba

589


Why do we use function in pl sql?

563


what are the advantages a stored procedure? : Sql dba

553


What is difference between sql and mysql?

537


What do you understand by case manipulation functions?

547


Why functions are used in sql?

515


How many columns should be in an index?

524