When I entered the sql management studio with windows authentication and I ran
SELECT USER_NAME()
I see the result as dbo.
I thought it would show my user ....
I look more at the explanation why it returns dbo
Use this instead
SELECT SUSER_NAME()
USER_NAME : returns the database username from the specified identification number.
SUSER_NAME : returns the username for the login.
Try:
SELECT SUSER_SNAME ()
, , .
→ → . , "Public" no "sysadmin"
Source: https://habr.com/ru/post/1766982/More articles:asp dropdownlist - add numbers 1-15 to the list - vb.netHow to access AJAX hash values in ASP.NET MVC? - urlНепрограммирующее руководство по программированию - androidASP.NET design question - Factory vs Dynamic code selection behind (if possible) - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1766981/design-choices-to-remove-if-is-statements&usg=ALkJrhhxKR5RsdGCqxz2FYyF7QP0zC1xagjQuery UI Datepicker Add Days - jqueryPython: create a fixed-point decimal point from two 32-bit ints (one for int, one for decimal) - pythonUnused sql options is any harm? - sql-serverDeclaring a custom variable in Scripting shells (csh shell) - linuxПочему это тупик (MySQL, использующий InnoDB) - mysqlAll Articles