My Posts containing images

2

Please login or register to vote for this query.

(click on this box to dismiss)

Used to find out which of your posts contain images

Arqade

Q&A for passionate videogamers on all platforms

declare @UserId int = ##UserId##;

SELECT 
  Id As [Post Link], 
  ViewCount 
FROM Posts WHERE 
  Posts.OwnerUserId=@UserId
  AND
  Body LIKE '%<img%'
  
ORDER BY ViewCount DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results