store procudure's output parameter & return value

using output value

declare @intId int
exec ap_EqIdByMakeModel_List_2 'NEC','V90',@intId output
print @intId


using return value

declare @intNewId int
exec @intNewId=ap_EqIdByMakeModel_List_3 'NEC','V90'
print @intNewId

 

posted on 2013-04-06 20:11  齐文宣  阅读(121)  评论(0)    收藏  举报

导航