Posts that probably need editing

5

Please login or register to vote for this query.

(click on this box to dismiss)

Updated with feedback from CodeReview.SE: https://codereview.stackexchange.com/q/176680

Latin Language

Q&A for linguists, teachers, and students wanting to discuss the finer points of the Latin language

SELECT PostTypes.Name, Posts.Id AS [Post Link]
FROM Posts
INNER JOIN PostTypes
ON Posts.PostTypeId = PostTypes.Id
INNER JOIN Users
ON Posts.OwnerUserId = Users.Id
WHERE
ClosedDate IS NULL AND
Score >= 0 AND
(
    Reputation < 1000 OR
    (
        Reputation >= 1000 AND
        LastAccessDate < GETDATE() - 90
    )
) AND
PostTypeId NOT IN (6, 7) AND
(
    Title LIKE '[abcdefghijklmnopqrstuvwxyz]%' --COLLATE Latin1_General_CS_AS OR
    --(
    --    Title NOT LIKE '%?' AND
    --    (
    --        LOWER(Title) LIKE 'is %' OR
    --        LOWER(Title) LIKE 'are %' OR
    --        LOWER(Title) LIKE '%wh%' OR
    --        LOWER(Title) LIKE '%how%'
    --    )
    --) OR
    --Body LIKE '%[ABCDEFGHIJKLMNOPQRSTUVWXYZ]([ABCDEFGHIJKLMNOPQRSTUVWXYZ]%' OR
    --Body LIKE '%[ABCDEFGHIJKLMNOPQRSTUVWXYZ])[ABCDEFGHIJKLMNOPQRSTUVWXYZ]%'
    --Body LIKE '%[abcdefghijklmnopqrstuvwxyz],[abcdefghijklmnopqrstuvwxyz]%'
)
ORDER BY PostTypeId ASC

Enter Parameters

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