in reply to What's your favorite SQL generation module?
Coming from a DBA background I personally tend to do a minimal wrapping of DBI as a lot of these modules don't process transactions effectively and can be quite difficult to get to write optimised SQL code.
SQL::Interpolate does a mimimal amount of work for you. Allowing you to be helped by it(i.e. selects, inserts, updates especially) but still have control enough to bypass it during a transaction if you have to.
My opinion is you should always hand code a delete if you have to do it as these are too risky to leave to a code generator. However it is better to do a logical delete and then you can roll it back at any time.
Hope it helps
UnderMIne
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What's your favorite SQL generation module?
by perrin (Chancellor) on Jun 07, 2006 at 11:56 UTC | |
by santonegro (Scribe) on Jun 07, 2006 at 16:07 UTC | |
by perrin (Chancellor) on Jun 07, 2006 at 16:50 UTC |