I have this view, would like to know how to make "unique index view"
ALTER VIEW vwCF
as
SELECT
cf.CashFlowID
,ftt.FTSName
,cf.FTSTypeID
,ftt.SortOrder AS ftsSortOrder
,cf.SecurityTypeID
,st.SecurityTypeName
,st.SortOrder AS stSortOrder
,cf.IssuanceDate
,cf.Issuance
,cf.Principal
,cf.Interest
,cf.FlowAmounts
,cf.Net
FROM dbo.CashFlow AS cf
INNER JOIN dbo.FinancialTimesType AS ftt ON cf.FTSTypeID = ftt.FTSTypeID
INNER JOIN dbo.SecurityType AS st ON cf.SecurityTypeID = st.SecurityTypeID
Go
How to do create unique index view and go from here? Thanks