Subquery of https://data.stackexchange.com/stackoverflow/query/835150 ...returns top 50 records from table specified.
Q&A about the site for members of the workforce navigating the professional setting
declare @sql nvarchar(100) set @sql= 'select top 100 * from users' execute sp_executesql @sql