I want to add a new column in my table, and i'm always getting 1064 error.
Can someone tell yhat's wrong.
SQL Query :
ALTER TABLE `user` ADD `picture` VARCHAR NOT NULL AFTER `dob`
SQL Error
_______________________________________________________________________________
#1064 - 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 'NOT NULL AFTER `dob`' at line 3
---------------------------------------
thank you in advance

Help
This topic is locked












