I tried adding a column at the end of the table by selecting the options in phpmyadmin but it throws me error. I copied the query and tried with SQL option in there by removing the quote & removing all the argument but it still gives error –
I tried –
ALTER TABLE `signup_event` ADD `payment_category` VARCHAR( 30 ) UNSIGNED NULL
DEFAULT NULL AFTER `trans_status`;
ALTER TABLE signup_event ADD payment_category VARCHAR( 30 ) UNSIGNED NULL
DEFAULT NULL AFTER trans_status;
ALTER TABLE signup_event ADD payment_category VARCHAR( 30 ) UNSIGNED NULL
DEFAULT NULL AFTER trans_status
ALTER TABLE signup_event ADD payment_category VARCHAR( 30 ) UNSIGNED
DEFAULT NULL AFTER trans_status;
Like this many times…
How to add a column in this case?
You have defined
UNSIGNEDon varchar.UNSIGNEDcan only be used in numbers.