title: Connecting to database using msnodesqlv8 nodejs
body: <p>I have the below nodejs code to connect to database:</p>
  
  <pre><code>const  sql  =  require("msnodesqlv8");
  const connectionString = "Server={remote}; Database={Products}; Trusted_Connection=Yes;Driver={SQL Server Native Client 11.0}; "
  const query = "SELECT * FROM Products"
  sql.query(connectionString,  query,   (err,  rows)  =&gt;  {    
      console.log(rows);
  });
  </code></pre>
  
  <p>This code works fine if I have Microsoft SQL studio installed, and I try to connect to a remote SQL server.</p>
  
  <p>But when I run this code to connect to a remote SQL server from a Windows 2016 server which doesn't have any SQL installed, the server fails with sqlstate: 'IM002'</p>
  
  <p>Could someone let me know what to do ? is there any dependencies I need to install? </p>
  
  <p>My DevOps team is not allowing to install SQL studio in the specified box so is there any workaround ?:</p>