PROC_GenericPagingProcedure '[RESI].[dbo].[BLOGS_Posts] ','BLOGPOSTID','CAST(ISNULL(PublishDate, GETDATE()) AS DATETIME) DESC, BLOGPOSTID DESC','1','10','BLOGPOSTID,[MetaDescription],[MetaKeywords],PublishDate,PublishTime,Title,Post,GalleryID,ParentBlogPostId ','(USERNAME = ''0704355'') AND Published = ''1'' AND (Month(PublishDate) = ''08'' AND Year(PublishDate) = ''2012'') ',NULL,NULL