|
-
Oct 14th, 2001, 09:05 PM
#1
Thread Starter
Fanatic Member
Using osql
I want to connect to a MS SQL Server 7 using osql.
Can I just copy the file osql.exe to the client (client has no VB or SQL installed, it has just Win NT4) and run it using:
osql /SBart /Usa /P
I get error the following error:
[Microsoft][ODBC SQL Server Driver]Client unable to establish connection
[Microsoft][ODBC SQL Server Driver][Named Pipes]ConnectionOpen (CreateFile()).
When connecting to another serger I get different message:
osql /SHomer /Usa /P
[Microsoft][ODBC SQL Server Driver][Named Pipes]Specified SQL server not found.
[Microsoft][ODBC SQL Server Driver][Named Pipes]ConnectionOpen (CreateFile()).
Hope someone know how to connect to SQL Server from client using osql. I have no problem if the client have MS SQL installed as well.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|