Avoid cursors in SQL Server with these methods to loop over records by Matthew Schroeder(转)# Database - 数据库a*82008-11-24 08:111 楼http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1339242,00.html