PDA

View Full Version : osql -- run sql script



acheng
12-15-2003, 08:38 PM
Hi there, I'm using LaunchAppAndWait to run SQL script thru OSQL.exe, and this SQL script will return a string value. Is there a way to to assign this returned string to installscript string variable?

Thanks!

khoaha
12-16-2003, 10:12 AM
I guess not.
What you can do, I think, is to output what returned by the osql
to a text file and search for the wanted "string" then assign this
searched string to installshield's variable that you wanted.