use StudentManager go if exists(select * from sysobjects where name='usp_ScoreQuery2') drop procedure usp_ScoreQuery2 go --创建带参数的存储过程 create procedure usp_ScoreQuery2 @CSharp int, @DB int as select Students.StudentId,StudentName,C#=CSharp,DB=SQLServe…