-
Notifications
You must be signed in to change notification settings - Fork 877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQL Server Profiler Extension not displaying Login Name #10393
Comments
@raswinraaj the LoginName is mapped to the field server_principal_name of sqlserver package, and unfortunately it is not available for Azure SQL database. (it is available for standalone SQL Server), the views in Azure Data Studio is designed to be server type agnostic, unfortunately, you will always see these 2 columns without any values. if you really want to get rid of this column, you can customize this view or add a new view:
|
I am closing the issue since i have explained the reason and solutions. |
@alanrenmsft My sole reason for raising this bug was because we have multiple users and we wanted to know which users' query execution was taking the longer duration during profiling. It is unfortunate that this feature is not available. Can this be raised as a feature request? |
@raswinraaj I took another look and realized it is actually doable, for now as a workaround, please locate the LoginName column for the views that you are interested in (follow the steps in my previous comment) and update it to make it look like this:
I will make corresponding code changes to update the default templates to include this field. BTW, please remove the customization when a new ADS version is released so that you can get the future new default templates. thanks for bring this to our attention and let me know if you have any other questions |
@raswinraaj my fix has been merged, if you use the latest ADS insider build you will see the loginName being populated now. https://github.com/microsoft/azuredatastudio#try-out-the-latest-insiders-build-from-master |
Thanks Alan for fixing this quickly.
…On Wed, Jun 3, 2020, 11:59 AM Alan Ren ***@***.***> wrote:
@raswinraaj <https://github.com/raswinraaj> my fix has been merged, if
you use the latest ADS insider build you will see the loginName being
populated now.
https://github.com/microsoft/azuredatastudio#try-out-the-latest-insiders-build-from-master
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10393 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL77WLWEJZYXEVTMCTIMRLLRUXUVJANCNFSM4NAUT3DQ>
.
|
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: