Q&A about the site for 3D printing enthusiasts
SELECT TOP ##num?100## Id As [Post Link], OwnerUserId AS [User Link], CreationDate, LastActivityDate, Score, ViewCount, Body FROM Posts WHERE (Body LIKE '%##string1?\ve##%') AND NOT(Body LIKE '%##string2?\vec##%') AND NOT(Body LIKE '%##string3?\ver##%') AND NOT(Body LIKE '%##string3?\vee##%') AND NOT(Body LIKE '%\newcommand%') AND NOT(Body LIKE '%\DeclareMathOperator%') AND NOT(Body LIKE '%\def%') ORDER BY CreationDate DESC ---\ver catches both \verb and \vert