Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

160
Views
Issue while mssql Node.js during parametrized query

I'm doing an INSERT on my backend with node.js using mssql, the problem is: when i run the code the INSERT not work and there's no log error:

str_query= "INSERT INTO t1 (id,age,name) VALUES (@ID,@AGE,@NAME) ";
 request.input('ID',sql.int,NULL);
 request.input('NAME',sql.varchar,NULL);
 request.input('AGE',sql.int,NULL);

request.query(str_query, function (err, recordset) {//doing stuff}

So basically seems impossibile to insert a null value in a INT column. Is there any way?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!