I need to make column called start_date_data_id
to be nullable.
I found this answer(Altering a column to be nullable) and tried to do it on described way.
Description of that column: (| start_date_data_id| bigint(20)| NO | MUL | NULL | |
).
Query:
ALTER TABLE attenddb.company_group_user_settings
ALTER COLUMN start_date_data_id bigint(20) NULL;
Error:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint(20) NULL' at line 1
Can someone tell me why is it not working?