McMahon, Chris wrote:
>       Can anyone suggest DBI syntax to capture the result of
> 
> SELECT DISTINCT column1 FROM table WHERE column2= -1
> 
>       into an array?  Just a hint would help...

my @results = $dbh->selectcol_array('select ...');

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to