Assign a variable from an MS SQL Server query

Got a problem you cannot solve? Try here.
Post Reply
AdrianGray
Posts: 32
Joined: Fri Jul 25, 2014 5:21 am

Assign a variable from an MS SQL Server query

Post 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.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Assign a variable from an MS SQL Server query

Post 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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply