bigup401 has asked for the wisdom of the Perl Monks concerning the following question:
am trying to extract data from column. but am only getting the first lastname am not getting the reset. i only get john
+----------+ | lastname | +----------+ | john | | Doe | | Jones | | Smith | +----------+
my $sth = $dbh->selectrow_array("SELECT lastname FROM dbase"); $dbh->disconnect; #its ok with array @data = $sth1; print @data;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: extract column data
by Discipulus (Canon) on May 24, 2017 at 11:41 UTC | |
Re: extract column data
by Corion (Patriarch) on May 24, 2017 at 11:39 UTC | |
by bigup401 (Pilgrim) on May 24, 2017 at 12:17 UTC | |
by Corion (Patriarch) on May 24, 2017 at 12:22 UTC | |
by bigup401 (Pilgrim) on May 24, 2017 at 13:43 UTC | |
by thanos1983 (Parson) on May 24, 2017 at 14:57 UTC | |
| |
| |
Re: extract column data
by hippo (Archbishop) on May 24, 2017 at 11:38 UTC |