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 is indexes?

754


How delete all data from all tables in sql?

687


Which data type is a composite type?

736


How can check sql version from command line?

722


Can a commit statement be executed as part of a trigger?

799






Write the alter statement to enable all the triggers on the t.students table.

847


What is an emotional trigger?

697


What is the purpose of cursors in pl/sql?

798


When are we going to use truncate and delete?

716


How to check if a column is nullable before setting to nullable?

775


How do you declare a user-defined exception?

718


what happens if you no create privilege in a database? : Sql dba

718


what is myisam? : Sql dba

758


- Types of triggers - View - Dcl - Procedures, packages, functions - Metasolve - Can use Dcl in triggers - package case study - Cursor and its types - triggers schedule - Wrap - Why we are using fetch and for in cursor. difference?

1581


Explain raise_application_error.

830