How can i store/use a value selected by sql statment from sql server. the SQL goes some thing like this...
"SELECT DB_VERSION FROM TBL_VERSION"
now i want to use the the value of the field "DB_VERSION " selected by SQL and use it in the installer. But i am not being able to use it.
I have also tried using this
SELECT $CURRENT_VERSION$ = DB_VERSION FROM TBL_VERSION
Where $CURRENT_VERSION$ is declared in the Installer.
But not being able to access the value selected. How to do it?
How to access value selcted by SQL Script in the installer
-
CandiceJones
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Re: How to access value selcted by SQL Script in the install
You can create an sql script that writes data on a .txt file to a temp directory and read the content you want (return values) from there, for example, line by line.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
Install[b]Aware[/b] Software Corporation
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
Install[b]Aware[/b] Software Corporation
-
Roostar2004
- Posts: 155
- Joined: Mon Nov 12, 2007 11:59 am

