Re: Problems passing a reference to a hash between functions
- From: niall.macpherson@xxxxxxxxxxxx
- Date: 31 Jan 2006 02:17:58 -0800
A. Sinan Unur wrote:
>
> > 3. Surely, you don't need to do separate prepare,execute and fetch.
>
> Well, that separation is actually a good idea in general. You prepare
> once, execute when needed, and fetch while you want more results.
>
Yes - the reason I prepare separately is because I have certain SQL
commands which need to be executed many times with varied input.
Preparing the statement once allows me to catch any syntax errors at
the start and also improves performance.
.
- References:
- Problems passing a reference to a hash between functions
- From: niall . macpherson
- Re: Problems passing a reference to a hash between functions
- From: Mons
- Re: Problems passing a reference to a hash between functions
- From: A. Sinan Unur
- Problems passing a reference to a hash between functions
- Prev by Date: Re: Problems passing a reference to a hash between functions
- Next by Date: security alerts
- Previous by thread: Re: Problems passing a reference to a hash between functions
- Next by thread: Re: Problems passing a reference to a hash between functions
- Index(es):
Relevant Pages
|
|