CREATE PROCEDURE test
AS
exec ('CREATE VIEW [dbo].[XpressII_Fusion]
AS
SELECT dbo.XpressII.Order_Section, dbo.XpressII.Fscl_Month,
dbo.XpressII.Product_Number, dbo.XpressII.Shpt_Leg_Net_CLC,
dbo.XpressII.Shpt_Leg_Prod_Units, dbo.XpressII.Misc_Charge_Code,
dbo.XpressII.Customer_PO_Number, dbo.XpressII.Customer_Number,
dbo.XpressII.Purch_Agreement, dbo.XpressII.Order_Date,
dbo.FUSION_SHPT.Accountid#, dbo.FUSION_SHPT.[Last-Tier#],
dbo.XpressII.EM
FROM dbo.FUSION_SHPT INNER JOIN
dbo.XpressII ON dbo.FUSION_SHPT.[ORDER-SEC] = dbo.XpressII.Order_Section')GO
AS
exec ('CREATE VIEW [dbo].[XpressII_Fusion]
AS
SELECT dbo.XpressII.Order_Section, dbo.XpressII.Fscl_Month,
dbo.XpressII.Product_Number, dbo.XpressII.Shpt_Leg_Net_CLC,
dbo.XpressII.Shpt_Leg_Prod_Units, dbo.XpressII.Misc_Charge_Code,
dbo.XpressII.Customer_PO_Number, dbo.XpressII.Customer_Number,
dbo.XpressII.Purch_Agreement, dbo.XpressII.Order_Date,
dbo.FUSION_SHPT.Accountid#, dbo.FUSION_SHPT.[Last-Tier#],
dbo.XpressII.EM
FROM dbo.FUSION_SHPT INNER JOIN
dbo.XpressII ON dbo.FUSION_SHPT.[ORDER-SEC] = dbo.XpressII.Order_Section')GO
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货