随笔分类 - Database
摘要:在查询分析器中输入以下内容: set statistics profile on set statistics io on set statistics time on go <这里写上你的sql语句...> go set statistics profile off set statistics io off set statistics time off
阅读全文
摘要:--利用子查询指定返回范围的查询USE AdventureWorksselect * from (SELECT PSC.Name Category,p.Name Product,p.ListPrice, ROW_NUMBER() OVER(ORDER BY PSC.Name,P.ListPrice DESC) AS RowNumFROM Production.Product pJOIN Produ...
阅读全文

浙公网安备 33010602011771号