ALTER PROCEDURE GetProductContent
 (@ProductID int,
 @ProductName char(20) output,
 @Introduction char(200) output
 )
AS
 select @ProductName=[ProductName],@Introduction=[Introduction] from Product where [ProductID]=@ProductID
 
 select InfoName,Infomation from ProductInfo where [ProductID]=@ProductID
 RETURN


第一个select检索两个参数
第二个select返回一张表。
那执行这个存储过程的时候返回的数据是什么样子的?该怎么使用?
posted on 2006-08-11 19:41  Suntears  阅读(407)  评论(3编辑  收藏  举报
点击这里给我发消息