sday, May 02, 2002 11:40 AM
Subject: Re: query about empty return value from SELECT
> on Thu, 02 May 2002 18:29:08 GMT, Aman Raheja wrote:
>
> > My code looks like following
> >
> > foreach (@abc)
> > {
> >$sth = $dbh->prepare("select distinct
on Thu, 02 May 2002 18:29:08 GMT, Aman Raheja wrote:
> My code looks like following
>
> foreach (@abc)
> {
>$sth = $dbh->prepare("select distinct X from Y where P='$_'");
>$sth->execute;
>$reference = $sth->fetchall_arrayref();
>
>if(@$reference eq '')
>{
> print "$_ i