Multi-threaded code in CLR Stored Procs?
问题 Are multi-threaded CLR stored procs possible? I have a data-intensive task with lots of potential for parallelization. CLR Stored Procs would be great to remove the overhead of moving the data out of process, my I fear that I'd have to give up parallel computing. What are my options? Note: We're on SQL Server 2005 with plans in the < 4 month range to upgrade to SQL Server 2008 回答1: If is data intensive with potential to parallelization, you should process it in set oriented manner and let SQL