I have a big SQL file that does not fit into memory and that needs to be executed against Microsoft SQL Server 2008. It seems that the sqlcmd.exe
tool always loads it into memory first which is impossible in this case. Any ideas?
unfortunately, i cannot split the script because it is generated by Redgates excellent SQL Data Compare. the entire script is one big transaction and i want to leave it that way. i had never thought that having a gigantic script is unusual because having much data is common in the database world. the script is 3gb in size.