Questions hidden due to ultra specific tags

0

Please login or register to vote for this query.

(click on this box to dismiss)

Literature

Q&A for scholars and enthusiasts of literature

declare @question int = 1;
declare @reTag int = 6;
declare @tagToSearch nvarchar(35) = ##tag:string?google-apps-script-simple-triggers##;


select
cast(PH.CreationDate as date),
Posts.Tags,
Posts.Id as [Post Link],
PH.UserId as [User Link],
PH.Text
from
Posts
inner join PostHistory as PH on PH.PostId = Posts.Id
where
Posts.PostTypeId = @question
and Posts.Id = 16089041
--and
--PH.PostHistoryTypeId = @reTag
and
(
  charindex('<' + @tagToSearch + '>', PH.Text) > 0
  and
  Posts.Tags like ('%<' + @tagToSearch + '>%' )
)
group by
Posts.Tags,Posts.Id,PH.UserId, cast(PH.CreationDate as date),PH.Text
order by
cast(PH.CreationDate as date) desc

Enter Parameters

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