I am unable to restore a Large database file that was created with this application.
The error GRANT CONNECT TO [LOGIN_USER] AS [dbo]
Keeps breaking the restore process. I’ve attempted to restore the database backup via sqlcmd
however the the script is able to run but fails midway because of a syntax error.
Becasue of the sql file being sooo large (~38GB) it is nearly impossible to modify.
I’ve attempted to split the backup file into multiple parts using (SQLDumpSplitterv3) and even then the application fails to do that.
Is there a way that force this sql file to be executed and still ignore any potential sql syntax errors? using sqlcmd?