2013年6月25日

[转].net 调用oracle存储过程返回多个记录集

摘要: 本文转自:http://www.netwinform.com/articleinfo.aspx?id=17存储过程: CREATE OR REPLACE PROCEDURE p_query_cs ( p_infotype IN VARCHAR2, p_fromareacode IN VARCHAR2, p_toareacode IN VARCHAR2, p_keytype IN NUMBER, r_cursor1 OUT sys_refcursor, --结果集 r_cursor2 OUT sys_refcursor --结果集 ) IS BEGIN OPEN r_cursor1 FOR SE 阅读全文

posted @ 2013-06-25 11:25 freeliver54 阅读(877) 评论(1) 推荐(0)

[转]使用ADO.NET访问Oracle存储过程

摘要: 本文转自:http://www.cnblogs.com/datasky/archive/2007/11/07/952141.html本文讨论了如何使用 ADO.NET 访问 Oracle 存储过程(称为 SQL 编程块)和函数(返回单个值的编程块)。您可以使用以下托管数据提供程序连接到 Oracle 数据库:Microsoft .NET Oracle 提供程序、OLE DB .NET 提供程序、ODBC .NET 数据提供程序以及 Oracle 的 ODP.NET 提供程序。本文使用用于 Oracle 的 Microsoft .NET 框架数据提供程序。使用 Oracle ODP.NET 数据 阅读全文

posted @ 2013-06-25 11:13 freeliver54 阅读(407) 评论(0) 推荐(0)

[转]Oracle ORA-01403: no data found Exception SYS_REFCURSOR

摘要: 本文转自:http://stackoverflow.com/questions/9104153/what-is-the-correct-way-to-deal-with-this-oracle-ora-01403-no-data-found-exceptThis leads to the familiar ORA-01403: no data found exception. I tried to change the SP so that it would return NULL record in this case - the same sort of result you'd 阅读全文

posted @ 2013-06-25 09:58 freeliver54 阅读(671) 评论(0) 推荐(0)

导航