Subject | Re: [IBO] Prepare + unprepare + close with IB_Query or IB_Cursor? |
---|---|
Author | sdbeames |
Post date | 2002-08-01T05:30:48Z |
--- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
With Borland parts I'd have used Prepare to hold something ready
while using it more than once, and then Unprepare it. With IBO, it
stays prepared, even if it's implicitly prepared. So it seems
there's no reason to ever call Prepare, just Unprepare.
Thanks,
Steve
> When you are done with something, call Unprepare or it willcontinue to hold
> resources on the server.OK, so Prepare is redundant, but Unprepare isn't.
>
> Jason Wharton
With Borland parts I'd have used Prepare to hold something ready
while using it more than once, and then Unprepare it. With IBO, it
stays prepared, even if it's implicitly prepared. So it seems
there's no reason to ever call Prepare, just Unprepare.
Thanks,
Steve