Trying to create a table in sql server i want to store image in my table following is the query I'm running
create table user_profile (sr_no int(10) auto_increment,u_id int(10),
username varchar(30), profile_pic varbinary(max), gender varchar(6),
country_code int(5), phoneno int(10), addline1 varchar(30), addline2
varchar(50), addline3 varchar(20), towncity varchar(30), state
varchar(30), pincode int(6), foreign key (username) references
login(uname), foreign key (u_id) references signup(u_id), primary key
(sr_no))
and sql is throwing me this 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 'max), gender varchar(6), country_code int(5), phoneno int(10), addline1 varcha' at line 3