如有下面存储过程create proc xx@abc int = 0asif @abc = 1beginselect 1endif @abc = 2beginselect 2endif @abc = 3beginselect 3end想通过一个方法调用这个存储过程取得变量@abc的所有值。它的值是1,2,3感谢!
你把变量写在形参里。一一调用。