Post containing some of the given texts (only ids)


Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

declare @links nvarchar(max) = ##links:string##
declare @list nvarchar(max)
declare @sql nvarchar(max)

select @list = string_agg(concat('(Body LIKE ''%', value,'%'')'), ' OR ')
from string_split(@links, ',')

set @sql = concat(N'SELECT TOP 100 Id AS [Post Link]
  FROM Posts WHERE ',@list,N' ORDER BY Id DESC')

print @sql


Enter Parameters

Switch sites:
loading Hold tight while we fetch your results