I would fill a table from a query in a stored procedure,
This works:
SELECT *
INTO #tmpTable
FROM MyTable
This works:
SELECT TOP (1) *
FROM MyTable
WHERE Land = @Land
but how do I fill #tmpTable
with
SELECT TOP (1) *
FROM MyTable
WHERE Land = @Land