MySQL Forums
Forum List  »  Spanish

Re: Llamada de un procedimiento almacenado
Posted by: William Chiquito
Date: October 17, 2006 07:20AM

jesus,

El problemas que tienes es que estás formando mal la cadena que llama al stored procedure.

La instrucción:
Case 1 : sSql = "call spFacturaCliente(iCodigo)"

debe ser algo así:
Case 1 : sSql = "call spFacturaCliente(" & iCodigo & ")"
de manera que concatenes el valor de la variable iCodigo (1, 2, 3, 4) y no el literal iCodigo.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Llamada de un procedimiento almacenado
3452
October 17, 2006 07:20AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.