DECLARE @Old NVARCHAR(MAX), @New NVARCHAR(MAX); SELECT @O...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

DECLARE @Old NVARCHAR(MAX), @New NVARCHAR(MAX);
SELECT @Old = Text
  FROM SuggestedEdits AS se
  WHERE se.Id = 18222;
SELECT @New = Text
  FROM PostHistory
  WHERE RevisionGuid = 'cf5f008a-ed84-45cd-a845-7a3912eae546';
SELECT @Old;
SELECT @New;

Enter Parameters

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