Alter the table if table and column exists in MYSQL
I have a function & I’m checking whether the table and column exist or not. If exits, then I need to alter the table.
Alter mysql table if table and column exists using function by checking if table exists or not in mysql
I had a function as below and using this function I am checking whether the table and column exists if exits then I need alter the table if not I should not alter the table.