문제

What does this error "Error HRESULT E_FAIL has been returned from a call to a COM component"

in SQL Server 2008r2, I create file sample. SQL from SampleDb with Task->Genaret Scrpits, the file content Data and schema, my file size is 137m, when I want to open this file, This error was generated.

Please help me to solve.... Thanks

도움이 되었습니까?

해결책

This error is likely due to the size of your SQL Query file.

It may be simplest to find an alternative way to transfer your data, such as using the "Import Data" Wizard. (Right-click on your destination database and select Tasks -> "Import Data.")

Or, if you need to run this Query File, you could try using "sqlcmd" as discussed in this post and this related answer.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top