我在MySQL中創建三個存儲過程。它工作正常。現在我讀了使用C#的第三個過程。它返回兩個名爲table,table1的表。我如何分配每個表的名稱?而使用超過8或10如何爲數據集表分配表名
create procedure dbo.GetPeople
as
begin
select * from dbo.Person;
end;
create procedure dbo.GetCars
as
begin
select * from dbo.Car;
end;
-- This gives the same result as before
create procedure dbo.GetSomething
as
begin
exec dbo.GetPeople;
exec dbo.GetCars;
end;
哪裏是你的C#代碼?你能分享你的C#代碼嗎? –