Marc-Olivier Meunier wrote:
> 
> I get an error with this :
> 
> stmt = 'SELECT MY_CURSOR(Messag_id, Messag_titre)' ;
> stmt = stmt || ' FROM dba.T_Messagerie' ;
> EXECUTE stmt ;
> 
> It says "Missing delimiter ; ". 
> I guess it's because of the stmt = stmt || 'blabla'
> Do i really have to write my whole very long statement in one row ?
> Is there any special trick ?

No, there is no trick, no need to put the whole statement in one line.
I assume the problem is somewhere else in your dbproc, because
that puzzle for stmt should work (and does so here).

Elke
SAP Labs Berlin
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to