摘要: 1. Get only date part for comparing. FLOOR(CAST(GETDATE() AS FLOAT)) 2. Paging DECLARE @PageNum intDECLARE @PageSize intSET @PageNum = 2SET @PageSize = 20;WITH cte AS( SELECT tbl.*, ROW_NUMBER() OVER(... 阅读全文
posted @ 2009-07-28 22:39 sadcat 阅读(113) 评论(0) 推荐(0) 编辑