call vs callsp?

call vs callsp?

Postby goosfancito » Tue Dec 19, 2023 5:31 am

Hola.
Cual es la diferencia entre llamar a un procedimiento almacenado usando
call
y usando
callsp

gracias.
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: call vs callsp?

Postby karinha » Tue Dec 19, 2023 3:11 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7832
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: call vs callsp?

Postby goosfancito » Wed Dec 20, 2023 11:23 am



Hola Karinha, si "callsp" se usa para los procedimientos almacenados en mysql, está el call y el callsp
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: call vs callsp?

Postby karinha » Wed Dec 20, 2023 11:40 am

goosfancito wrote:


Hola Karinha, si "callsp" se usa para los procedimientos almacenados en mysql, está el call y el callsp


¡Ah ok! No uso MySql, así que no sabía que existía el comando.

Gracias por la info.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7832
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: call vs callsp?

Postby karinha » Wed Dec 20, 2023 11:44 am

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7832
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: call vs callsp?

Postby nageswaragunupudi » Tue Dec 26, 2023 3:17 pm

Code: Select all  Expand view  RUN
oCn:CallSP( "procedurename",  aParams )

aParams should be an array.

Code: Select all  Expand view  RUN
oCn:Call( "function", aParams )
// or
oCn:Call( "function", param1, param2, .... )
// or
oCn:Call( "procedure", aParams )
// or
oCn:Call( "procedure", param1, param2, ... )
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], pablovidal and 31 guests