<div class="codebody" id="code81404"> CREATE VIEW dbo.ViewCMPP_SendCentreMo AS SELECT dbo.CMPP_SendCentreMo.id, dbo.CMPP_SendCentreMo.SendCentreID, dbo.CMPP_SendCentreMo.Mo, dbo.CMPP_SendCentreMo.Stat, dbo.CMPP_SendCentre.SendType, dbo.CMPP_SendCentre.SendDate, dbo.CMPP_SendCentre.Port, dbo.CMPP_SendCentre.Service_ID, case dbo.CMPP_SendCentre.FeeType when '01' then '免费' when '02' then '点播' else '包月' end as FeeType, cast(dbo.CMPP_SendCentre.FeeCode as smallint) as FeeCode, dbo.CMPP_SendCentre.Msg_Content FROM dbo.CMPP_SendCentre INNER JOIN dbo.CMPP_SendCentreMo ON dbo.CMPP_SendCentre.id = dbo.CMPP_SendCentreMo.SendCentreID