in reply to Sqlplus -> DBD::Oracle Question
AFAIK, you cannot. Session variables, breaks, etc., are part of the report-writing features of SQL*Plus. What DBI and DBD::Oracle give you is the ability to make SQL calls to the database, but they don't replicate SQL*Plus functionality. (Think of DBI as "Pro*Perl" and you'll be closer to the true picture.)
That said, remember that you have the full power of Perl at your disposal when you use DBI. For example, formats may be useful for what you're trying to do, and depending on what you're doing with session variables, Perl data structures may be a better substitute.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Sqlplus -> DBD::Oracle Question
by set_uk (Pilgrim) on Apr 10, 2003 at 14:39 UTC | |
by dragonchild (Archbishop) on Apr 10, 2003 at 14:55 UTC | |
by set_uk (Pilgrim) on Apr 10, 2003 at 15:09 UTC | |
by dragonchild (Archbishop) on Apr 10, 2003 at 15:49 UTC | |
by VSarkiss (Monsignor) on Apr 10, 2003 at 15:02 UTC | |
by set_uk (Pilgrim) on Apr 10, 2003 at 15:46 UTC | |
|
Re2: Sqlplus -> DBD::Oracle Question
by dragonchild (Archbishop) on Apr 10, 2003 at 14:34 UTC |