title: 'select top' returns too many rows
body: <pre><code>insert into
      @resultSet
  SELECT TOP (@topN)  
      field1,
      field2
  FROM    
      dbo.table1 DataLog  
  WHERE           
      DataLog.SelectedForProcessing is null
  </code></pre>
  
  <p>I'm passing <code>300</code> into <code>@topN</code> in the above sql, a value I've got configured in my app.config file, but this query running on 2 different servers has returned 304 rows in one instance and 307 rows in another instance.</p>
  
  <p>I cant find anywhere that may be interfering with the 300, to turn it into 304 or 307, so I'm beginning to wonder whether SQL Server will just return a few extra rows sometimes? (Same code on another server IS returning the expected 300 rows)</p>
  
  <p>Is this expected behaviour?</p>