필터 지우기
필터 지우기

Format for returning a ResultSet to Matlab via an Oracle Stored Procedure

조회 수: 1 (최근 30일)
Greg
Greg 2013년 5월 7일
Hello,
I have been having trouble getting a ResultSet into Matlab via an Oracle Stored Procedure. I am using 'exec' and then 'fetch', but I always get an 'Invalid Cursor' message in the cursor struct. I am using a simple query that executes in SQL*Plus, so I know the query is not the problem.
I have tried to create a PL/SQL function that returns a cursor, that doesn't work. I then tried a procedure with one variable as an OUT cursor and that didn't work either. I have tried defining my own cursor and also ref cursor.
Does anybody have a simple stored procedure that illustrates the format that I need to use?
Thanks and any help is much appreciated, Greg
(Using version 2007a)

답변 (0개)

카테고리

Help CenterFile Exchange에서 Database Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by