questions with tags SQL and javascript that have code snippets

0

Please login or register to vote for this query.

(click on this box to dismiss)

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

DECLARE @STARTDATE DATETIME = '2018-08-01'
DECLARE @ENDDATE DATETIME = '2018-12-31'

SELECT cast(Id as varchar(20))+'<postid>'+Body  FROM 
  Posts AS Question 
  where    
  Question.Tags LIKE '%java%' AND 
  Question.Tags not LIKE '%javascript%' and
  Question.Tags not LIKE '%junit%' and
  Question.Tags not LIKE '%apache%' and
  Question.Tags not LIKE '%identityserver%' and
  Question.Tags not LIKE '%json%' and
  Question.Tags not LIKE '%wso%' and
  Question.Tags not LIKE '%xml%' and
  Question.Tags not LIKE '%jaxb%' and 
  Question.Tags not LIKE '%rx-java%' and
  Question.Tags not LIKE '%git%' and 
  Question.Tags not LIKE '%assembly%' and
  Question.Tags not LIKE '%hsqldb%' and 
  Question.Tags not LIKE '%jmh%' and
  Question.Tags not LIKE '%java-module%' and
  Question.Tags not LIKE '%module-info%' and
  Question.Tags not LIKE '%docker%' and
  Question.Tags not LIKE '%docker-compose%' and
  Question.Tags not LIKE '%development-environment%' and
  Question.Body LIKE '%<code>%' and 
  posttypeid = 1 
  --and datepart(year,creationdate) = 2009
  and question.creationdate BETWEEN @STARTDATE AND @ENDDATE
  and AcceptedAnswerId  is not null and Score > 0
  --and id = 405336
  order by Id asc

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results