至高吴上(Alfa.wu)

一个人,一生,能坚持做好一件事情是多么的牛XX啊!!!

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年5月29日

摘要: 特别注意的是: OVER() 在, sql2000中不能用.SQL Server 2005: Using OVER() with Aggregate FunctionsBy Jeff Smith on 21 May 2007 | 4 Comments | Tags: SELECT, Transact-SQL, FunctionsOne of new features in SQL 2005 that I haven't seen much talk about is that you can now add aggregate functions to any SELECT (even 阅读全文
posted @ 2012-05-29 22:04 Alfa 阅读(2304) 评论(0) 推荐(0) 编辑

摘要: IF OBJECT_ID('tempdb..#t') IS NOT NULL DROP TABLE #tcreate table #t ( test int)GOinsert into #t(test) select 100 as testGO 100 select * from #t 阅读全文
posted @ 2012-05-29 16:24 Alfa 阅读(726) 评论(0) 推荐(0) 编辑