任何人都可以告诉我为什么这不起作用。我收到“不成功的元数据更新”错误。只有当我添加创建视图时,select语句才会出现问题。
CREATE VIEW V_DJ_BASELINESTART
(
JOBNUMBER,
MILESTONE,
ACTUALSTARTDATE,
MILESTONEID
) AS
select j.job_number AS JOBNUMBER, m.milestone_name AS MILESTONE, sm.actual_start_date AS ACTUALSTARTDATE,
m.milestone_ID AS MILESTONEID
from job j inner join schedule s on
s.Job_number = j.job_number inner join schedule_milestone sm on
sm.schedule_id = s.schedule_id inner join milestone m on
m.milestone_id = sm.milestone_id
where m.milestone_ID = '8';