Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

DBD::CSV - SQL Syntax - "AND" clause is not working properly

by slayedbylucifer (Scribe)
on Aug 28, 2012 at 11:11 UTC ( #990214=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    OS,RELEASE,VERSION
    Ubuntu,Warty,4
    ...
    Fedora,Yarrow,1
    Fedora,Tettnang,2
    Fedora,Stentz,4
    
  2. or download this
    my $query = "SELECT VERSION from test.csv WHERE OS="Fedora" AND RELEAS
    +E="Stentz";
    my $sth = $dbh->prepare ($query);
    $sth->execute;
    
  3. or download this
    DBD::CSV::st execute failed: No such column '"Fedora" AND RELEASE="Ste
    +ntz"' at /usr/local/lib/perl/5.10.1/DBI/DBD/SqlEngine.pm line 796
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://990214]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2015-07-05 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls