Hi Francesco,
I'm trying to run an sql server select command. SELECT x FROM y.
How can I get the returned value?
Regards,
T.
MS SQl Server return selected value
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: MS SQl Server return selected value
Dear Tzachk,
you could try with using the SQLCMD tool.
http://technet.microsoft.com/en-us/library/ms162773(v=sql.110).aspx
If recall you could save the returned value in a file.
Regards
you could try with using the SQLCMD tool.
http://technet.microsoft.com/en-us/library/ms162773(v=sql.110).aspx
If recall you could save the returned value in a file.
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
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
Re: MS SQl Server return selected value
Hi Francesco,
Our server software is not installed on the same machine as the SQL server (that is usual case in most organizations), so using SQLcmd is impossible unless I install additional components which I want to avoid.
Any other way?
Regards,
T.
Our server software is not installed on the same machine as the SQL server (that is usual case in most organizations), so using SQLcmd is impossible unless I install additional components which I want to avoid.
Any other way?
Regards,
T.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: MS SQl Server return selected value
Dear Tzachk,
unfortunately, it doesn't exist any other way ... unless you create a custom DLL or an EXE for such purpose.
Regards
unfortunately, it doesn't exist any other way ... unless you create a custom DLL or an EXE for such purpose.
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
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
Who is online
Users browsing this forum: No registered users and 139 guests