when I print @data it seems to be giving me the number of lines in the SQL text. instead of the text itself. Please advisemy $sth = $dbh->prepare("exec sp_helptext ?"); $sth->execute($_[0]) || die ("cannot run sp"); while(my @data = $sth->fetchrow_array()) { print join(q{,}, @data) . "\n".$data[1]; } $sth->finish; $sth=undef;
In reply to Re^2: Perl db programming
by rmatil
in thread Perl db programming
by rmatil
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |