ASP.net;sharepoint
c# moss 程序人生
获取表Law_Log中PeopleName字段的最新纪录
WITH tablelist AS (SELECT ROW_NUMBER() OVER (ORDER BY Tmp.LawID DESC) AS Row, * from Law_Log as Tmp where PeopleName = 'GSEGC\sumeihua')
select top 1 * from tablelist order by DoTime Desc
posted on 2007-10-31 16:29  sumh  阅读(176)  评论(0编辑  收藏  举报