in reply to Tricks with DBI
Great article - however:
And, for the same reasons, you should use prepare_cached instead of prepare.
Don't use prepare_cached() with DBD::Sybase - this would open multiple connections to your server (one for each cached statement handle). If you have a need to have a few requests that you are going to call a *lot* you may want to create stored procedures for them instead.
Michael
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Tricks with DBI
by thor (Priest) on Sep 19, 2004 at 04:02 UTC | |
by mpeppler (Vicar) on Sep 20, 2004 at 06:31 UTC | |
by Anonymous Monk on Dec 24, 2005 at 16:46 UTC | |
by mpeppler (Vicar) on Dec 25, 2005 at 09:05 UTC | |
by victor73 (Initiate) on Dec 26, 2005 at 08:54 UTC | |
|
In Section
Tutorials