Monday 22 October 2018

create sql table by passing variable

hi guys i want to create a table in sql by passing the variable like below<---------------->var table = mysql.format("create table ?(un VARCHAR(255))",v);con.query(table,function (err, result) {if (err) throw err;console.log('table created');​});but it not works anybody help me with this problem

Submitted October 22, 2018 at 12:59PM by mohamedimy

No comments:

Post a Comment