I am creating a SQL Server query that will take a parameter and use that as the record number to return.
In pseudo code:
parameter returnCount
select top returnCount * from table where x = y
What is the correct syntax/code to perform that operation?