LameNerd has asked for the wisdom of the Perl Monks concerning the following question:
Maybe I am barking up the wrong tree?... sub sqlAddress2sqlStatement { my $sql_address_string = shift; ... # do so magic the perlmonks told me about ... return $sql_statement; } my $sql = "select sql_address, osuser from v\$session where user = ?"; ... while( row = $sth->fetchrow_array ) { my $thesql = sub sqlAddress2sqlStatement ( $row[0] ); print "$user is executing $thesql\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Accessing executing SQL with Perl DBI & Oracle?
by LameNerd (Hermit) on May 08, 2003 at 18:09 UTC | |
|
Re: Accessing executing SQL with Perl DBI & Oracle?
by talexb (Chancellor) on May 08, 2003 at 18:08 UTC |