You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Microsoft SQL Server, should this be the login name or the database user name? When an application connects to SQL Server, it sends the login name. Each database in SQL Server can then map the login to a database user. Server-wide permissions are granted to logins, but permissions on tables and other objects within a database are granted to database users or to their roles.
For telemetry purposes, the major differences are:
Before the application connects to SQL Server, it typically knows the login name but not the database user name.
If the application uses multiple databases over the same connection, then it can have a different database user name in each database, but typically only one login name for the whole connection. (Unless it uses EXECUTE AS to impersonate a different login.)
The text was updated successfully, but these errors were encountered:
Under Semantic Conventions for Database Client Calls,
db.user
is documented as:For Microsoft SQL Server, should this be the login name or the database user name? When an application connects to SQL Server, it sends the login name. Each database in SQL Server can then map the login to a database user. Server-wide permissions are granted to logins, but permissions on tables and other objects within a database are granted to database users or to their roles.
For telemetry purposes, the major differences are:
The text was updated successfully, but these errors were encountered: