DECLARE @TopicsFilterFranchiseId INT
DECLARE @tblTopics AS table
(
ClientCategoryID int,
CategoryID int,
ProductID int
)
INSERT INTO @tblTopics
SELECT @TopicsFilterFranchiseId = ID from dbo.GetIDsTableFromIDsList(@FranchiseID)
while @TopicsFilterFranchiseId is not null
begin
EXEC SBS_G_GetTopicsByFranchiseID @TopicsFilterFranchiseId
Set @TopicsFilterFranchiseId = NULL
end
我收到此错误请告诉我如何解决此错误