为什么我会收到错误消息?
必须声明一个标量变量@wight
在我的存储过程中?
create PROCEDURE [dbo].Vector
(@word Varchar, @Wight double )
AS
SET NOCOUNT ON;
SELECT
DocId, TermWight * @Wight as "ss", word, id,
wordid, IDF, TFij
FROM TermWeight
WHERE (word = @word) and (TermWight <> 0)