title: Using System/User Variables as Parameters in an OLE DB Source Query
body: <p>I have got a SQL command like the following : </p>
  
  <pre><code>SELECT *
  FROM temp1 a
  inner join (SELECT ID from temp2 where ID = ?) b on a.ID = b.ID
  WHERE a.ID = ?
  </code></pre>
  
  <p>I know the query has incorrect logic. But my question is How will I set Variables as parameters here in the place of "?". If I exclude the joined part, it will work.</p>