Click to Rate and Give Feedback
MSDN
MSDN Library
SQL Server
SQL Server 2008
Database Engine
Technical Reference
 ASYMKEY_ID (Transact-SQL)
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
Other versions are also available for the following:
SQL Server 2008 Books Online (October 2009)
ASYMKEY_ID (Transact-SQL)

Returns the ID of an asymmetric key.

Topic link icon Transact-SQL Syntax Conventions

ASYMKEY_ID ( 'Asym_Key_Name' )
Asym_Key_Name

Is the name of an asymmetric key in the database.

int

Requires some permission on the asymmetric key and that the caller has not been denied VIEW permission on the asymmetric key.

The following example returns the ID of asymmetric key ABerglundKey11.

SELECT ASYMKEY_ID('ABerglundKey11');
GO
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker