SELECT TOP 1 P.Id AS [Post Link], SUBSTRING( P.Body COLLA...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Anime and Manga

Q&A for anime and manga fans

SELECT TOP 1
  P.Id AS [Post Link],
  SUBSTRING(
    P.Body COLLATE Latin1_General_BIN,
    PATINDEX('%stack.imgur.com/%?%"%>%', P.Body COLLATE Latin1_General_BIN),
    50
  )
FROM Posts P
WHERE
  PATINDEX('%stack.imgur.com/%?%"%>%', P.Body COLLATE Latin1_General_BIN) > 0

Enter Parameters

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