Groups | Blog | Home
all groups > sql server msde > january 2005 >

sql server msde : osql will not come up MSDE (sp3) or earlier


Ed H
1/20/2005 6:09:54 PM
When I try to run osql, I get the following error:

c:\program files\Microsoft SQL Server\80\Tools\Binn\

[quoted text, click to view]

[Shared Memory]SQL Server does not exist or access denied.
[Shared Memory]ConnectionOpen (Connect()).

I can start the instance "CCOP" from sqlmangr without any
issue, but when I try to run osql against the database, I
anonymous NO[at]SPAM discussions.microsoft.com
1/20/2005 8:48:42 PM

[quoted text, click to view]
Terri Morton
1/20/2005 10:12:13 PM
-d is the switch for the database name, not the instance name. Use the -S
switch to specify the instance name.

If you are not sure of the instance name, issue a osql -L for a list of SQL
Server instances.

See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/acdata/ac_8_mta_01_2r1e.asp
for more information on running the osql utility.

Terri Morton
MVP - ASP/ASP.NET

[quoted text, click to view]

AddThis Social Bookmark Button