mysql - adding columns with alter table error -


ok i'm trying add these columns table says have syntax error, please let me know whats wrong

alter table equipomulti add  marca varchar(45) null , serie varchar(45) null , modelo varchar(45) null , fechaad date null , costo double null , observacion varchar(500) null ; 

i believe need wrap multiple columns in parens, try:

alter table equipomulti add  (marca varchar(45), serie varchar(45), modelo varchar(45), fechaad date, costo double, observacion varchar(500)) ; 

Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -