V_ADORGANIZATIONALUNIT_UNIQUE_USERNAMESUFFIX

Used to enforce unique values on the ADORGANIZATIONALUNIT.USERNAMESUFFIX field (which is defined as being unique but not required). This view will contain all non-empty values for this field from the ADORGANIZATIONALUNIT table.

Fields

Field Field Type Null Description
USERNAMESUFFIX nvarchar(10) Defines an optional suffix that will be appended to any user names created for the organizational unit

Indexes

Index Name Fields Unique Primary Clustered
UIX_V_ADORGANIZATIONALUNIT_UNIQUE_USERNAMESUFFIX USERNAMESUFFIX yes yes

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  1/27/2010 6:53:33 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.5.465.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE VIEW dbo.V_ADORGANIZATIONALUNIT_UNIQUE_USERNAMESUFFIX WITH SCHEMABINDING
AS
select [USERNAMESUFFIX] from dbo.ADORGANIZATIONALUNIT where [USERNAMESUFFIX] <> ''