Create Procedure ssp_InsertClientDefaults(
@cid int
)
AS
BEGIN
INSERT INTO ClientTermData
(ClientID, TermID, NormCount, NormProb, DiscCount, DiscProb, Weight)
WHERE NOT EXISTS
(SELECT
@cid, GlobalTermData.TermID, GlobalTermData.NormCount, GlobalTermData.NormProb,
GlobalTermData.DiscCount, GlobalTermData.DiscProb, GlobalTermData.Weight
FROM GlobalTermData, DefaultTerms
WHERE DefaultTerms.TermID = GlobalTermData.TermID);
END
GO
'Where' 出现错误。我不知道出了什么问题。