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
What is difference between mongodb and mysql?
What are enums used for in mysql?
Is sql and mysql same?
What is the command used to create a database using php and mysql?
How to update database permissions/privilages.
What is memory table in mysql?
What data structure does mysql use?
can you elaborate on blob and text in mysql? : Mysql dba
Why mysql is used with php?
Is mysql free download?
How to show certain selected rows with the value "pcds".
How do I change a procedure in mysql?
What is mysql_query?
How to calculate expressions with sql statements?
How can you retrieve a particular number of records from a table?