Assign a variable from an MS SQL Server query

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

Assign a variable from an MS SQL Server query

Postby AdrianGray » Mon Jun 13, 2016 9:17 pm

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

Postby FrancescoT » Tue Jun 14, 2016 1:40 pm

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 102 guests