Logins

In most cases, you have to give an application only two pieces of information to connect to a Microsoft® SQL Server™ installation:

Login IDs are the account identifiers that control access to any SQL Server system. SQL Server will not complete a connection unless it has first verified that the login ID you specified is valid. This verification of the login is called authentication.

There are two types of SQL Server Authentication, each of which has a different class of login ID:

When SQL Server is running on Windows NT, members of the sysadmin fixed server role can specify one of two authentication modes:

These modes are specified during setup or with SQL Server Enterprise Manager.

The Windows 95/98 operating system does not support the server side of the trusted connection API. When SQL Server is running on Windows 95/98, it does not support Windows NT Authentication. Every user must supply a SQL Server login when they connect. When SQL Server is running on Windows NT, Windows 95/98 clients can connect to it using Windows NT Authentication.

One of the properties of a login is the default database. When a login connects to SQL Server, this default database becomes the current database for the connection, unless the connection request specifies that another database be made the current database.

  


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