1

Query :

ALTER TABLE db.tbl_name ALTER COLUMN column_name INT NULL

Error : 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 'INT NULL' at line 1

Jignesh Rawal
  • 521
  • 6
  • 17

1 Answers1

2

Please try the following:

ALTER TABLE db.tbl_name Modify COLUMN column_name INT NULL

This is a good read :)

Community
  • 1
  • 1
Muhammad Qasim
  • 1,622
  • 14
  • 26