Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 OSQL UTILITY

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-09-22 : 10:22:44
ARIJIT writes "How can I use osql utlity to run a script file through Visual Basic Program"

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2006-09-22 : 10:27:08
Use shell command:

Shell "osql /U test /P /i test.qry"


Harsh Athalye
India.
"Nothing is Impossible"
Go to Top of Page

vishu_av
Yak Posting Veteran

69 Posts

Posted - 2008-02-07 : 23:26:57
Hi harsh
I would like run the osql utilit from an application system which doesnt have MSDE installed. Is there any
other alternative way to do it ?
Thanks in advance
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-02-08 : 01:41:42
Install sql client on it.
Go to Top of Page

vishu_av
Yak Posting Veteran

69 Posts

Posted - 2008-02-08 : 03:46:18
Hi
I cannot do that as its a Application server. We have a different Database server that hosts SQL server 2000
Go to Top of Page
   

- Advertisement -