Reputation: 41
I need the syantax for inserting new column in existing table
client.query('ALTER TABLE login ADD'+'code VARCHAR(255)',function(err,result){
if(err){
console.log("ERROR:"+err.message);
}
else{
console.log("new column added");
}
});
it showing me error just need proper sytanx thanx in advance
Upvotes: 0
Views: 5409