title: The name "X" is not permitted in this context. Valid expressions are constants, constant expressions, and variables. Column names are not permitted
body: <p>Using SQL Server.  I am getting an error from an SQL Insert statement:</p>
  
  <pre><code>The name "InvalidAwps" is not permitted in this context. Valid
  expressions are constants, constant expressions, and (in some contexts)
  variables. Column names are not permitted.
  </code></pre>
  
  <p>This is the Insert SQL that produces that error:</p>
  
  <pre><code>Insert Into [PlanFinder].[ReportLinks]
  (TypeOfReport, Links) Values (InvalidAwps, \\uafc.com\ReportLinks\InvalidAwps);
  </code></pre>
  
  <p>And here is the table definition:</p>
  
  <pre><code>Create Table [PlanFinder].[ReportLinks]
  (
    [TypeOfReport]      Char (11)             Not Null,
    [Links]             Money                 Null,
    Constraint pk_TypeOfReport Primary Key Clustered (TypeOfReport)
  )
  </code></pre>
  
  <p>How do I fix this?</p>