摘要:
create proc up_get_user_age_by_user_id@id int,@age int outputasbegin select @age= Age from En_User where Id=@idenddeclare @res intexec up_get_user_age_by_user_id 19,@res outputprint @res带传入参数,输出参数的存储过程写法。常用命令:sp_helptext:查看存储过程的定义信息。sp_rename:重命名存储过程。ep:sp_rename ,alter procedure:修改存储过程。drop proc... 阅读全文