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 DataType of Column:
Sy: Alter Table <Table Name> Modify <ColumnName> <DataType>;
Ex: Alter Table Test Modify EmpId varchar(5);

Is This Answer Correct ?    63 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I get a list of table names in mysql?

926


How to concatenate two character strings?

1035


What is the datatype of image in mysql?

919


What is database clustering in mysql?

1036


Why MySQL is used?

1037


How do I select a database in mysql workbench?

1017


What is regex in mysql?

1089


What is the latest version of mysql?

989


Who developed mysql?

1019


How do I download mysql on my laptop?

888


Where is the mysql data directory?

944


Is mysql a free database?

942


What is mysql server?

1089


How do I edit a table in mysql workbench?

852


Write a query to stop mysql in unix

1055