2005新特性1.with用法withaaas(selecttop10*fromtable)select*fromaa2.ntile用法selectfield1,field2,ntile(8)over(orderbyfield1desc)fromtable--分8組,每組編號3.PIVOT用法selectvendor_id,'2005'as'2005','2005'as'2006'purchase... Read More
posted @ 2010-04-07 10:43 庚武 Views(258) Comments(0) Diggs(0) Edit