0
我想創建索引視圖,任何幫助,將不勝感激。我有這樣的:索引視圖Schemabinding
ALTER VIEW vwCF WITH SCHEMABINDING
as
SELECT
ftt.FTSName
,cf.FTSTypeID
,ftt.SortOrder
,cf.SecTypeID
,st.SecTypeName
,st.SortOrder
IssuanceDate
,Issuance
,Principal
,Interest
,FlowAmounts
,Net
FROM dbo.CashFlow AS cf
INNER JOIN dbo.FinancialType AS ftt ON cf.FTSTypeID = ftt.FTSTypeID
INNER JOIN dbo.SecType AS st ON cf.SecTypeID = st.SecTypeID
Go
如果您有任何問題,讓我知道...謝謝