Very helpful- I adjust the SQL to work when there is not userid on the createdby or alteredby, and to sort by category, then name.
Select Top 1000000 htblknowledgebasecategories.name As Category,
htblknowledgebase.name,
htblknowledgebase.kbid,
htblknowledgebase.added,
htblknowledgebase.altered,
htblusers_1.name As CreatedBy,
htblusers.name As AlteredBy,
htblknowledgebase.message
From htblknowledgebase
Inner Join htblknowledgebasecategories On htblknowledgebase.categoryid =
htblknowledgebasecategories.categoryid
Left Outer Join htblusers As htblusers_1 On htblknowledgebase.createdby =
htblusers_1.userid
Left Outer Join htblusers On htblknowledgebase.alteredby = htblusers.userid
Order By Category,
htblknowledgebase.name