O'Reilly logo

Microsoft® SQL Server™ 2000 Programming by Example by Carlos Eduardo Rojas, Fernando G. Guerrero

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Connecting to Instances

After an instance is completely installed, you can verify that the installation was successful connecting to this new instance. In particular, to connect to a named instance, use the following syntax: servername\instancename. Notice that when there are many instances in one server, from the client's point of view, each instance works as a completely different server.

There are many ways to test the connection to SQL Server. For example, you can use osql, which is a command-line utility that connects to SQL Server using ODBC. Figure A.14 shows how this command is used from the DOS prompt.

Figure A.14. Using osql to test connectivity to SQL Server.

Clients that connect to a named instance of SQL Server 2000 must have installed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required