Exporteren (0) Afdrukken
Alles uitvouwen
EN
Deze inhoud is niet beschikbaar in uw taal, maar wel in het Engels.

EXECUTE AS (Azure SQL Database)

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 EXECUTE AS.

Sets the execution context of a session.

Syntax Conventions (Azure SQL Database)


{ EXEC | EXECUTE } AS <context_specification>
[;]

<context_specification>::=
{ USER } = 'name'
    [ WITH { NO REVERT | COOKIE INTO @varbinary_variable } ] 
| CALLER

This syntax diagram demonstrates the supported arguments and options in Microsoft Microsoft Azure SQL Database.

Microsoft Azure SQL Database does not support the EXECUTE AS LOGIN option when using the EXECUTE AS statement.

For more information about the arguments and the EXECUTE AS statement, see EXECUTE AS in SQL Server Books Online.

Community-inhoud

Toevoegen
Weergeven:
© 2014 Microsoft