How to alter a column name in the db table from frontend?

May 26 2015 8:47 AM

Hai Sir,

           In my database I have a table with columns col1,col2,col3.

            I want to give the fourth column i.e..,col4  from the front end(when I click add column button in my front end).
            Now the updated table should be like col1,col2,col3,col4 after altering the fourth column.
             Is it possible to alter a column from Frontend? If possible what is the stored procedure/query for that? 

Answers (2)