On Mon, 25 Aug 2003 17:02:03 -0400 Juan Arturo Veliz Carmona
<[EMAIL PROTECTED]> wrote:
> Tim:
You should be writing to [EMAIL PROTECTED] Writing directly to Tim delayed
the initial response by about 9 hours.
> I corrected the problem in the script of the following form:
>
> my $dbh = DBI->connect('dbi:Oracle:',
> shift||'',
> shift||'',
> '', #I changed 'Oracle' for ''
As Tom told you, this should be _removed_ not replaced by ''. If you
are going to use the fourth argument, it should be a hash reference,
as you give below.
> {
> RaiseError => 1,
> # AutoCommit => 0,
> ora_session_mode => ORA_SYSDBA
> })
> or die DBI->errstr;
The ORA_SYSDBA has no effect due to the extra '' in the argument list.
Fortunately, nothing in the original message requires ORA_SYSDBA
privileges.
--
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.