eveCalypso
Programmer
Hello,
I need to call quite a few stored procedures. Had a look at a few examples re passing parameters etc. and everyone seems to keep recreating connection, command and parameter objects when calling these proc's.
Is there a reason why I can not write a generic runProcedure function for this purpose?
Off the top of my head it will probably need to take the stored proc name and an array of Parameters...
and maybe return a resultset?
Is this standard practise or am I missing something?? (and that could well be!)
EvE
I need to call quite a few stored procedures. Had a look at a few examples re passing parameters etc. and everyone seems to keep recreating connection, command and parameter objects when calling these proc's.
Is there a reason why I can not write a generic runProcedure function for this purpose?
Off the top of my head it will probably need to take the stored proc name and an array of Parameters...
and maybe return a resultset?
Is this standard practise or am I missing something?? (and that could well be!)
EvE