标签:style blog color ar sp div c log r
--定义存储过程 create procedure GetReturnValue @className nvarchar(50), @Age int as begin declare @maxScore int select @maxScore=MAX(chinese) from Students where ClassName=@className and Age>@Age return @maxScore end declare @returnValue int exec @returnValue = GetReturnValue ‘高三一班‘,18 select @returnValue as 返回值
标签:style blog color ar sp div c log r
原文地址:http://www.cnblogs.com/zwhFighting/p/4007507.html