Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 cooling their heels in the Monastery: (11)
As of 2014-10-21 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (111 votes), past polls