I've simplified the regex I really need to use to demonstrate what I was attempting to do.$sth=$dbh->prepare("@sqlcmd"); $sth->execute; while (($data) = $sth->fetchrow) { if($data =~ /create/) { print "$data\n"; } }
In reply to Re^3: Perl or SQL ?
by Anonymous Monk
in thread Perl or SQL ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |