Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Perl DBI escape reserved word in Ingres database

by jtech (Sexton)
on Feb 22, 2019 at 15:08 UTC ( [id://1230393]=note: print w/replies, xml ) Need Help??


in reply to Perl DBI escape reserved word in Ingres database

Got it!

The column is a boolean type and the SQL select command returns "true" or "false" on terminal but, the BDI only accept "1" or "0" for the boolean type.

Solution: my $ref =  $dbh->selectall_arrayref($sql,undef,'1');

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1230393]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-04-24 11:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found