Out of Memory exception in SQL 2008
问题 Regarding the Out of Memory exception in SQL Server 2008: When I execute large query which inserts thousands of rows into a table, The exception which occurs when executing this is "System.OutOfMemoryException". 回答1: According to a really pretty good Microsoft knowledge base article (linked here) this caused by a query which requires more RAM allocated than is available. In other words, you need more RAM, or you need to redesign the query to break up the process into smaller chunks. This is a