title: SQL Server - Invalid characters in parameter names
body: <p>I need to know what are the valid characters to use in a SQL parameter name.</p>
  
  <p>Given something simple like <code>SELECT * FROM tblTest WHERE testid = @[X]</code>, if X contains a hyphen, for instance, the statement will fail.  What are the valid characters for parameter names?</p>