my answers

0

Please login or register to vote for this query.

(click on this box to dismiss)

IT Security Meta

Q&A about the site for information security professionals

DECLARE @userId int = ##userId##
DECLARE @from date = ##from##
DECLARE @to date = ##to##

SELECT *
FROM Posts a
WHERE
    a.OwnerUserId = @userId
  AND a.PostTypeId = 2
  and creationDate > @from
  and creationDate < @to

Enter Parameters

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