retrieve images from posts

0

Please login or register to vote for this query.

(click on this box to dismiss)

LEGO® Answers

Q&A for LEGO® and building block enthusiasts

SELECT Substring(p.Body, Charindex('https://i.stack.imgur.com/', p.Body), Charindex('png', p.Body) + 3)
AS url
FROM Posts p
INNER JOIN PostTags pt ON p.Id = pt.TagId
INNER JOIN Tags t ON t.Id = pt.PostId

WHERE p.creationdate > '2022-04-01 00:00:00'
AND
p.Body LIKE '%https://i.stack.imgur.com/%png%'
AND
TagName IN ('java','c#','python','javascript','html','c++','css','php','ios')

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results