title: Can ODBC parameter place holders be named?
body: <p>I did some searching and haven't found a definitive answer to my questions.</p>
  
  <p>Is there a way to define which <strong><code>?</code></strong> in a SQL query belongs to which parameter?<br>
  For example, I need to perform something like this:</p>
  
  <pre><code>SELECT * FROM myTable WHERE myField = @Param1 OR myField2 = @Param1 
         OR myField1 = @Param2 OR myField2 = @Param2
  </code></pre>
  
  <p>The same query in <code>ODBC</code> is:</p>
  
  <pre><code>SELECT * FROM myTable WHERE myField = ? or myField2 = ? or myField1 = ? 
         or myField2 = ?
  </code></pre>
  
  <p>Is there a way to tell the ODBC command which parameter is which besides loading parameters in twice for each value?</p>
  
  <p>I suspect there isn't but could use perspective from more experienced ODBC programmers.</p>
  
  <blockquote>
    <p><strong>EDIT</strong> :  The ODBC driver I'm using is a BBj ODBC Driver.</p>
  </blockquote>