How can we change the name and data type of a column of a
table?
Answer Posted / yogesh verma
Hi This is yOgEsH....!!
By this query we can change the data type of particular column :
ALTER TABLE products ALTER COLUMN price TYPE numeric(10,2);
| Is This Answer Correct ? | 7 Yes | 8 No |
Post New Answer View All Answers
What is the maximum size of mysql database?
How do I download a mysql community server?
What is federated tables in mysql?
Can we store pdf files in mysql?
How to show all tables with 'mysql'?
How do I start mysql in ubuntu?
How can you retrieve a portion of any column value by using a select query?
What is view in mysql?
What happens if null values are involved in expressions?
What mysql -u john -p command does?
Can we write procedure in mysql?
What is root password?
What is database in php mysql?
How do you know the version of your mysql server?
What is ibdata1?