V_WPRELATIONSHIP_BO_UNIQUE_DUNS
Used to enforce unique values on the WPRELATIONSHIP_BO.DUNS field (which is defined as being unique but not required). This view will contain all non-empty values for this field from the WPRELATIONSHIP_BO table.
Fields
Field | Field Type | Null | Description |
---|---|---|---|
DUNS | nvarchar(10) |
Indexes
Index Name | Fields | Unique | Primary | Clustered |
---|---|---|---|---|
UIX_V_WPRELATIONSHIP_BO_UNIQUE_DUNS | DUNS | yes | yes |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 8/2/2010 7:10:26 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.7.1654.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE VIEW dbo.V_WPRELATIONSHIP_BO_UNIQUE_DUNS WITH SCHEMABINDING
AS
select [DUNS] from dbo.WPRELATIONSHIP_BO where [DUNS] <> ''