Re: ADO adCmdStoredProc PlPgSql-SP Parameters - Mailing list pgsql-general

From Postgre.News.Firma@spamgourmet.net
Subject Re: ADO adCmdStoredProc PlPgSql-SP Parameters
Date
Msg-id 000001c5101c$495a23a0$ca64a8c0@muenchen.oneXtwo.ag
Whole thread Raw
In response to Re: ADO adCmdStoredProc PlPgSql-SP Parameters  (Shachar Shemesh <psql@shemesh.biz>)
List pgsql-general
>>Von: Duffner
> Von: Shachar Shemesh
> Betreff: Re: [GENERAL] ADO adCmdStoredProc PlPgSql-SP Parameters

> >How do I call a StoredProcdure, written in PlPqSql
> >which returns a set of records (or tableWhatever)
> >and wants parameters,
> >from ADO while using "adCmdStoredProc" ?

> Which driver are you using? If it's the OLE DB provider, then
> there is a solution,
> provided that you modify your stored procedure a little.
> You can probably write a wrapper procedure,
> if that's not acceptable as it is.

I had been told not to use the OLE driver because it is not working
correctly.
Now I will give it a try anyway.
There is nothing to change, because we are still investigating postgre to
know which way we will use it.
And if :-)

[One day later]
I tried it and we will not use the OLE driver for a LONG time.

> If your function returns "refcursor", then OLE DB will
> interpret that to  mean that the function has rowset returns, and will
emulate
> the standard calls surrounding returning multiple results.

When I tried to retrieve multiple cursors via ADO/ODBC I got a table
with the names of the cursors.
Is it possible to use these cursors somehow ?

Cu,
Andreas


pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: vacuum confusion
Next
From: John Sidney-Woollett
Date:
Subject: Re: vacuum confusion