Post containing some of the given texts (only ids)


Please login or register to vote for this query.

(click on this box to dismiss)

Reverse Engineering Meta

Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation

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