ajguitarmaniac has asked for the wisdom of the Perl Monks concerning the following question:
How do I go about storing the results of a SQL select query that reutrns more than one row into a perl array?
Please let me know if this is valid
my @array =("Select query") OR my $select_qry = ("SELECT column from table WHERE condition"); my @array = ($select_qry); OR my $select_qry = ("SELECT column from table WHERE condition"); my @array; push (@array,("$select_qry));
Monks, please guide me through this.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Storing the results of a SQL select query that reutrns more than one row into a perl array
by moritz (Cardinal) on Dec 18, 2010 at 09:52 UTC | |
Re: Storing the results of a SQL select query that reutrns more than one row into a perl array
by CountZero (Bishop) on Dec 18, 2010 at 10:18 UTC | |
Re: Storing the results of a SQL select query that reutrns more than one row into a perl array
by Anonymous Monk on Dec 18, 2010 at 10:07 UTC | |
Re: Storing the results of a SQL select query that reutrns more than one row into a perl array
by oko1 (Deacon) on Dec 18, 2010 at 19:28 UTC | |
by ajguitarmaniac (Sexton) on Dec 20, 2010 at 07:27 UTC |
Back to
Seekers of Perl Wisdom