Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can we change the name and data type of a column of a
table?

Answer Posted / m. ravindar

To Change Name of Column:
Sy: Alter Table <Table Name> Change <Old ColumnName> <New
ColumnName>;
Ex: Alter Table Test Change EmpId EID varchar(5);

Is This Answer Correct ?    17 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I run mysql?

1005


What are the features of mysql?

988


Can mysql and mariadb coexist?

1087


Why mongodb is faster than mysql?

878


Why use stored procedures in mysql?

981


Explain csv tables.

1007


What is the data type for image?

1063


How do you say mysql?

897


Is mysql a dbms?

883


What are the mysql database files stored in system ?

1060


What is mysqli_free_result?

902


How to load data files into tables with 'mysqlimport'?

995


How to dump a table to a file with 'mysqldump'?

1025


What is mysql slow query?

948


What are the non-standard sql commands supported by 'mysql'?

986