Page 1 of 1

Assign a variable from an MS SQL Server query

Posted: Mon Jun 13, 2016 9:17 pm
by AdrianGray
How do I assign an Installaware variable from an MS SQL Server query. I can use an Installaware variables within the Query but how I assign it back. I need to ascertain the country from a database table, then use this variable to later decide which set of files to copy. Thanks, Adrian.

Re: Assign a variable from an MS SQL Server query

Posted: Tue Jun 14, 2016 1:40 pm
by FrancescoT
Dear Adrian,

you may have a look at the following link.
http://www.installaware.com/forums/viewtopic.php?t=6063

Anyway, a sql query doesn't return a value and you need to use a stored procedure.

Hope this helps you.

Regards