Connecting to and Disconnecting from a Server

An application must connect to a server running Microsoft® SQL Server™ before it can work with a SQL Server database. A connection is implemented as a physical connection through a component such as shared memory or a network. An application can open multiple connections to a server.

After a connection is made, the application can execute Transact-SQL statements through the connection. After an application completes all the work that must be done in a SQL Server installation, the application disconnects. This frees all resources held by the connection in the server and terminates the network or shared memory connection between the application and the server.

Connections have these characteristics:

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.