Selvom jeg ikke forstår årsagen til denne opgave, kan du alligevel gøre det som:
DECLARE @t TABLE ( ID INT )
DECLARE @c INT = 8
INSERT INTO @t
VALUES ( 1 ),
( 2 ),
( 3 );
WITH cte
AS ( SELECT 1 AS rn
UNION ALL
SELECT rn + 1
FROM cte
WHERE rn <= @c
)
SELECT TOP ( @c )
*
FROM ( SELECT ID
FROM @t
UNION ALL
SELECT NULL
FROM cte
) t
ORDER BY ID DESC
Output:
ID
3
2
1
NULL
NULL
NULL
NULL
NULL