Grab latest SQL script???
Posted: Wed Sep 22, 2010 9:24 am
I'm looking for InstallAware to automatically grab our latest SQL script (like we do with all other files). Right now it is a manual process ... everytime we have a new SQL script I have to go into InstallAware and click 'Load Script' and then browse to the SQL script.
Is there a way for it to always grab the script each time a setup is built? It is always the same path (ex: \\servername\sharename\current_script.sql)
Here is the text:
Microsoft SQL Server Script : Connect to database mydbname on instance localhost\ as user sa (get result into variable SCRIPTRESULTS)
Here is the code:
~InstallAware Clipboard Data~
~MS SQL Server~
~{FEE38CFA-4AF4-4CDD-8E2B-1EA1D0E57DF9}~
~localhost,,mydbname,sa,mydbpassword,SCRIPTRESULTS,"mydbscript",-1,0~
~mMSSQLIDE.dll\mMSSQLExec.dll~
Thanks for any help!
Is there a way for it to always grab the script each time a setup is built? It is always the same path (ex: \\servername\sharename\current_script.sql)
Here is the text:
Microsoft SQL Server Script : Connect to database mydbname on instance localhost\ as user sa (get result into variable SCRIPTRESULTS)
Here is the code:
~InstallAware Clipboard Data~
~MS SQL Server~
~{FEE38CFA-4AF4-4CDD-8E2B-1EA1D0E57DF9}~
~localhost,,mydbname,sa,mydbpassword,SCRIPTRESULTS,"mydbscript",-1,0~
~mMSSQLIDE.dll\mMSSQLExec.dll~
Thanks for any help!