title: How to do SELECT TOP @Param in a Stored Procedure?
body: <p>I'm trying to do the following in a proc, but getting an incorrect syntax error:</p>
  
  <pre><code>SELECT TOP @NumberOfResultsToReturn *
  </code></pre>
  
  <p>What am I doing wrong here?  Thanks.</p>