How to get the results of a direct SQL call to a stored procedure?

时间秒杀一切 提交于 2019-12-01 05:14:58

The executeUpdate returns an updated row count; otherwise 0 for SQL statements that return nothing.

The executeQuery returns an instance of the ResultSet class, but calling a stored procedure is not a select, so you break the contract.

What you are trying to do is not supported.

You may use C# as glue code or use the C# types directly using .NET CLR Interop.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!