Posted by Mike Epprecht \(SQL MVP\) on 08/11/05 00:56
and
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/acdata/ac_8_mta_01_2q61.asp
--
--------------------------------
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"William Kossack" <kossackw@njc.org> wrote in message
news:11fktjioc9cp78d@corp.supernews.com...
> Can you point me to an example or somewhere to look online?
>
> Erland Sommarskog wrote:
>
>>William Kossack (kossackw@njc.org) writes:
>>
>>>Someone asked me a curious question.
>>>Can I execute a query to sql server from a bat file? how?
>>>
>>>If not is there a simple scripting laguage that this person might use to
>>>drive his process that is similar to a dos bat file?
>>>
>>
>>You can use the command-line tool OSQL for this.
>>
>>
>>
>>
[Back to original message]
|