How to call stored procedures in MySQL

Topics: Developer Forum, Project Management Forum, User Forum
May 1, 2014 at 2:23 AM
Este es el Codigo

oSQL = CREATEOBJECT("AVFPsql")
oSQL.LogIn(cnx())
oSQL.cSQLCursor = 'destino'
pProcede = [CALL ]+'&pProcAlm'+[(?]+w_CodCia+[,?]+w_CodSuc+[,?]+pCommand+[,?]+pOrder+[,?]+pLimit+[)]
oSQL.Execute([&Procede])
ENDIF