Exportera (0) Skriv ut
Visa allt
EN
Det här innehållet finns inte tillgängligt på ditt språk men här finns den engelska versionen,

SUSER_SNAME (Azure SQL Database)

Updated: November 21, 2014

This topic is OBSOLETE. You can find the most current version in the SQL 14 Transact-SQL Reference.

ImportantImportant
This topic is not maintained. For the current version, see SUSER_SNAME.

Returns the login name for the current security context.

Syntax Conventions (Azure SQL Database)


SUSER_SNAME () 

nvarchar(128)

Microsoft Microsoft Azure SQL Database does not support the server_user_sid parameter for SUSER_SNAME. It will always return the login name for the current security context.

For more information about the SUSER_SNAME statement, see SUSER_SNAME in SQL Server Books Online.

Visa:
© 2015 Microsoft