SQL Server Performance

User_name function

Discussion in 'T-SQL Performance Tuning for Developers' started by agodinasandrien, Jul 22, 2004.

  1. agodinasandrien New Member

    Hello everybody !

    I have a small problem : in my query i use the function User_name() to get the name of the current user but it returs 'dbo' as result in place of 'PDB' which has the system administrators server role.
    Is there a solution to this problem ?

    Thanks to all !
  2. satya Moderator

Share This Page