I need to execute a large Insert script of size 75MB in my database. I am using the built in SQL command tool to run this script, but it still throws the same error - "There is insufficient system memory in resource pool 'internal' to run this query."
sqlcmd -S .\SQLEXPRESS -d TestDB -i C:\TestData.sql
How to resolve this memory issue, when the last resort of running the script through SQLCMD does not work?
Note - Increasing the Maximum Server Memory(in the Server Properties) did not resolve this problem.