 )
 AS
 
-DECLARE @FirstId int
+DECLARE @FirstDate datetime
 DECLARE @StartRow int
 DECLARE @StartRowIndex int
 


SET ROWCOUNT @StartRowIndex
-- Get the first entry id for the current page.
SELECT	@FirstId = [ID] FROM [<dbUser,varchar,dbo>].[subtext_Content]
WHERE	BlogId = @BlogId 
	AND PostType = @PostType 
ORDER BY [ID] DESC

-- Now, set the row count to MaximumRows and get
-- all records >= @first_id

IF @ExcludeFeedbackStatusMask IS NULL
	SET @ExcludeFeedbackStatusMask = ~0

DECLARE @FirstDate datetime
DECLARE @StartRow int
DECLARE @StartRowIndex int

