Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
指定した接続レベルで、指定したプロパティ ID を持つプロパティの名前を返します。
PROPERTY_NAME( property-id [, property-scope ] )
property-scope: NULL | 'server' | 'database' | 'db' | 'connection' | 'conn'
property-id データベースプロパティのプロパティ ID。
property-scope プロパティのスコープまたは NULL。
VARCHAR
SQL/2008 ベンダー拡張。
次の文は、プロパティ ID 102 に対応するサーバレベルのプロパティを返します。
SELECT PROPERTY_NAME( 102, 'server' );