Managing database connections
If you have the correct permissions, you can view details about all the current connections, to the database that you have open. Current Connections provides information on who is logged in to that database, and their current level of activity.
Before you begin
To change user permissions:
- Start SQL Server Management Studio.
- Expand Databases, right-click the database, and then click Properties.
- Click Permissions, and then click View server permissions.
- In the Logins or Roles list, click the user to whom you want to grant the permission.
- In the Explicit permissions for user list, click to select the Grant checkbox next to View server state permission.
- Repeat step 4 through step 5 for each user to whom you want to grant the permission.
Note: Users with View Server State permission can
view any databases they have access to. This permission can be revoked using
Deny View Database State.
About this task
Database activity can be used to determine details about your database use. For example, the number of concurrent licenses that are needed, or the types of client that are currently open. In addition, as all connections must be closed before a database connection can be opened in iBase Designer, you can ensure that any connections that are not currently active can be closed.
Important: Ensuring a single open connection in iBase Designer prevents any potential
data loss by administrator actions. Shutting down connections to the database logs out all active
users and any unsaved changes are lost. Try to ensure that all connections are not in use before you
shut down those connections.