3
Is there any way to run a file with a large volume of data without being direct on SQL Server 2014 Management Studio
, because I try to open to run and get the following error:
Cannot run script. Insufficient memory to continue implementation of the programme. (mscorlib)
Local do Programa:
em System.Runtime.InteropServices.Marshal.AllocCoTaskMem(Int32 cb)
em Microsoft.SqlServer.Management.UI.VSIntegration.ShellTextBuffer.GetText(Int32 startPosition, Int32 chars)
em Microsoft.SqlServer.Management.UI.VSIntegration.ShellTextBuffer.get_Text()
em Microsoft.SqlServer.Management.UI.VSIntegration.ShellCodeWindowControl.GetSelectedTextSpan()
em Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptEditorControl.GetSelectedTextSpan()
em Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptAndResultsEditorControl.OnExecScript(Object sender, EventArgs a)
In my case I will run on the server, the script has to be run straight from the server or it can be from another machine ?
– Marco Souza
It can be from another machine. You just need to have access to it.
– Leonel Sanches da Silva
It’s a very valid answer, but since I don’t have access, I had to turn it into an Excel file and import it with the Server 2014 Management Studio wizard....
– Marco Souza
Ah, yes. It works too.
– Leonel Sanches da Silva