How can i read a saved ExecuteBlock.SaveToFile back in
mkquinn
Posts: 4
is there any way to read the sql scripted that was created with
ExecutionBlock.SaveToFile back into the ExecutionBlock and have the Utils
execute it?
what i need is to be able to do a compare and save off the sql script and later execute that script
mick q
ExecutionBlock.SaveToFile back into the ExecutionBlock and have the Utils
execute it?
what i need is to be able to do a compare and save off the sql script and later execute that script
mick q
Comments
Sorry, it's not possible to read a script back into an ExecutionBlock and it is indeed very difficult to construct an ExecutionBlock manually.
The best workaround is probably to save the script from SQL Compare and then use a third-party utility (OSQL.exe) or ADO .NET to run it.