SELECT DateErrored
FROM (SELECT Category, ROW_NUMBER (Partition by dateerrored ORDER BY category DESC)AS Row FROM AspErrors)
AS LogWithRowNumbers
WHERE Row >= 1 AND Row <= 10
views:
51answers:
1yup, that would do it (unless he's running sql server 2000)
DForck42
2010-10-11 21:17:23
im running sql server 2008
Will
2010-10-12 12:35:15