I have a .sql
file, which is about 22,000 lines long. It is generated by something else, but basically contains only one update statement for each row.
I get this error when running a file in SQL Server Management Studio.
There is not enough system memory in the "internal" resource pool to run this query
I think I just need to split this request file, but I'm not sure if this is the best way. I could cut the file to 2,000 lines of string or something that I suppose.
This seems like a simple problem, and I will do it often enough, I would like to find a good solution. Any ideas?
source share