Create a gist now

Instantly share code, notes, and snippets.

The final export query for CommunityServer 2008
SELECT [Subject], PostDate, FormattedBody,
dbo.old_url(PostDate, [Subject]) AS old_url,
dbo.make_slug([Subject]) AS slug
FROM dbo.cs_Posts
WHERE UserID = 2102
AND SectionID = 4
AND PostLevel = 1
AND IsApproved = 1
AND IsLocked = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment