Basic PHP Programming Question:
Download Job Interview Questions and Answers PDF
How can we change the name of a column of a table?
Answers:
Answer #1This will change the name of column:
ALTER TABLE table_name CHANGE old_colm_name new_colm_name
ALTER TABLE table_name CHANGE old_colm_name new_colm_name
Answer #2Alter table tablename change column oldcolumnname, new columnname datatype(size);
Download PHP Interview Questions And Answers
PDF
Previous Question | Next Question |
What is the functionality of MD5 function in PHP? | How can we know the number of days between two given dates using MySQL? |