Hi,
in order to apply Database changes from a DBForge Schema compare script, what components do you suggest ? TMyCommand ? in this case I load the sql file in the sql property ?
Regards
Armindo
Execute DBForge Schema compare script
-
AndreyZ
Re: Execute DBForge Schema compare script
Hello,
To execute a script, you should use the TMyScript component. For example, if you have the script in a file, you can use the following code:
To execute a script, you should use the TMyScript component. For example, if you have the script in a file, you can use the following code:
Code: Select all
MyScript.SQL.LoadFromFile('filename');
MyScript.Execute;Re: Execute DBForge Schema compare script
Thanks Andrey.
-
AndreyZ
Re: Execute DBForge Schema compare script
I am glad I could help. If any other questions come up, please contact us.
Re: Execute DBForge Schema compare script
yep, I have another pending question about backup/restore in the forum...
-
AndreyZ
Re: Execute DBForge Schema compare script
I have answered you at http://forums.devart.com/viewtopic.php?f=7&t=25605