Asa cum am vorbit la telefon , anumite prelucrari s-ar putea face mai bine din afara SQL folosind CLR , despre asta aici : http://www.devsource.com/c/a/Using-VS/Introducing-SQL-Server-2005s-CLR-Integration/
Gheorghe Ciubuc,SQL Server Influencer, MCP(SQL 2000), MCTS (SQL Server 2005) , OCA(Oracle 9i), Sybase(Brainbench)