Quantcast
Channel: SCN: Message List - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 2182

Return resultset from CLR

$
0
0

Hi.

 

I've created a C# DLL which is called in a CLR Function in a SA12 database.

The DLL successfully returns a decimal value from this call:

 

SELECT sfw_GetKostverdi(param1, param2 ....paramN);

No problem, and everything checks out great.

 

But now I need to return a DataSet, containing one or more columns, and one or more rows.

I've tried to return a DataSet from the DLL, but I get the following error:

 

Table 'ExtEnvResultSet29' not found

SQLCODE=-141, ODBC 3 State="42S02"

 

I found an example using IDataReader, but it will not work.

 

Have anyone got at working example regarding this?

Or can shed any light over the issue?

 

Regards,

 

Bjarne Anker

Maritech Systems AS

Norway


Viewing all articles
Browse latest Browse all 2182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>