title: select with parameter instead of field name
body: <p>How can I use a parameter instead of a field name like:</p>
  
  <pre><code>Declare @Thecode varchar(10)
  Set @Thecode= ‘code’   --'code' is field name. 
  Select @Thecode from sqltable
  </code></pre>