Hi,

I would like to use dbproc's as functions witch returns
a boolean result if the dbproc executed without problems
(or an id, serial type for example after an insert)

Yet, to return more variables, i return a cursor like
DECLARE :$cursor CURSOR FOR SELECT :iTete, :iNbElem, 
:iProfondeur, :iLargeur FROM DBA.DUAL;
and i read this result "normaly". Is there a lighter
solution for the database instead of returning always
a cursor ?

should i use maxdb_stmt_init, maxdb_stmt_prepare and
maxdb_stmt_bind_param to do so ?

but in my case, i would have an "out" parameter.

I see that the function maxdb_stmt_bind_result binds on
result set only, not on parameters

Spefifing a bound parameter to a php variable to an out
parameter of an maxdb proc would do so ?

More generaly, like sql server, would you plan to allow
all dbproc to return an integer value witch could be
interpreted as a good execution flag (or an error code
if an error occured) ? like all C function ?



-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to