title: Create an SQL script with a Batch file and add multiple variables from a CSV file to that SQL script
body: <p>I'm new with batch scripting and I'm struggling writing something that can:</p>
  
  <p>1) Read an csv first columns and setting those values as variables.</p>
  
  <p>2) Write a short sql sentence script adding all those variables to a WHERE 
     clause.</p>
  
  <p>thats all...</p>
  
  <p>What i've already done:</p>
  
  <p>CSV File (variables to add)
  <a href="https://i.stack.imgur.com/nx9c0.png" rel="nofollow noreferrer">CSV File</a></p>
  
  <p>Batch Code
  <a href="https://i.stack.imgur.com/fA7wc.png" rel="nofollow noreferrer">Batch Code</a></p>
  
  <p>Outcome Script :
  <a href="https://i.stack.imgur.com/eAYCf.png" rel="nofollow noreferrer">Script</a></p>
  
  <p>What I need:
  <a href="https://i.stack.imgur.com/WIIhu.png" rel="nofollow noreferrer">MySQL Script Outcome from the batch</a></p>
  
  <p>any ideas to share?</p>