in reply to Re: Can insert but not select
in thread Can insert but not select
Also I double checked the user I am using for the script and it has global select permissions. I can select on other tables in the same db.... just very oddly not two of my tables. This might be more of a mysql issue. I'm not sure.$rowCheckQuery = qq{SELECT color_id FROM color WHERE color=?}; foreach my $color (@color){ # trim whitespace $color =~ s/^\s+|\s+$//gm; # print "Color is - ", $color, " -\n\n"; my $sth = $dbh->prepare($rowCheckQuery); $sth->execute($color); while(my $color_test = $sth->fetchrow_arrayref) +{ push @color_test, $color_test; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Can insert but not select
by kyle (Abbot) on Jan 03, 2009 at 05:42 UTC | |
by zoophagous (Novice) on Jan 03, 2009 at 05:49 UTC | |
by zoophagous (Novice) on Jan 03, 2009 at 06:41 UTC | |
|
Re^3: Can insert but not select
by MidLifeXis (Monsignor) on Jan 03, 2009 at 12:10 UTC |