How can we change the name and data type of a column of a
table?
Answer Posted / ashish
o Change DataType of Column:
Sy: Alter Table <Table Name> Modify <ColumnName> <DataType>;
Ex: Alter Table Test Modify EmpId varchar(5);
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
How to enter Characters as HEX Numbers?
Can we store videos in mysql database?
how can you test for null values in a database? : Mysql dba
Is mysql a server?
What are the mysql database files stored in system ?
Which is faster innodb or myisam?
What is a string in mysql?
Does mysql support nosql?
What are the different types of triggers in mysql?
What is triggers and how it can be used in mysql?
What are the functions of commit and rollback statements?
What is mysql primary key?
What is a user defined variable?
What is heap table in mysql?
Can't connect mysql server on localhost?