0
我一直在努力paramaterised存儲過程在SQL Server中,但我得到一個錯誤,說明Paramaterised在SQL Server存儲過程 - 錯誤「不明確的列名‘musictypeID’」
不明確的列名「musictypeID」
代碼:
create procedure getmusicbytype
(@musictypeID int)
as
begin
select *
from musicc
inner join MusicType on musicc.musictypeID = MusicType.musictypeID
where musictypeID = @musictypeID
end