Get Last Activity Date for Post (by IDs)

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drupal Answers

Q&A for Drupal developers and administrators

-- PostIds: Comma separated list of Post Ids

SELECT 
  Id AS [Post Link],
  OwnerUserId AS [User Link],
  CreationDate,
  LastActivityDate
FROM Posts
WHERE Id IN (
  SELECT CAST(value AS INT) 
  FROM STRING_SPLIT(##PostIds:string##, ',')
)

Enter Parameters

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