2007年6月19日

sql 查寻 耗时统计

摘要: declare @t1 datetime;set @t1 =getdate(); select datediff(ms,@t1,getdate()); 阅读全文

posted @ 2007-06-19 16:21 随风.Net 阅读(317) 评论(0) 推荐(0) 编辑

SQL TOP N 分组统计

摘要: --分组统计 select a.emp_id,b.emp_name,a.dept_no,a.bb_no,a.xh,a.idno,a.emp_no,a.beg_date,a.over_date,a.basesal from HRSys.dbo.EmpbaseSal a left join HRSys.dbo.Employee b on a.emp_id=b.emp_idwhere basesa... 阅读全文

posted @ 2007-06-19 15:42 随风.Net 阅读(1165) 评论(1) 推荐(0) 编辑

导航