title: including parameters in OPENQUERY
body: <p>How can I use a parameter inside sql openquery, such as: </p>
  
  <pre><code>SELECT * FROM OPENQUERY([NameOfLinkedSERVER], 'SELECT * FROM TABLENAME
  where field1=@someParameter') T1 INNER JOIN MYSQLSERVER.DATABASE.DBO.TABLENAME
  T2 ON T1.PK = T2.PK
  </code></pre>