Answers by me that contain code.

0

Please login or register to vote for this query.

(click on this box to dismiss)

This query produces a list of your answers where the answer contains one or more "code " blocks.

SharePoint

Q&A for SharePoint enthusiasts

-- Answers by me that contain code.
-- This query produces a list of your answers where the answer contains one or more "code " blocks.

declare @UserId int = ##UserId##

SELECT
Id AS [Post Link], Score, Body
FROM
Posts
WHERE
OwnerUserID = @UserID
AND
Body LIKE '%<code>%'
ORDER BY
Score DESC

Enter Parameters

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