P is for Practical | |
PerlMonks |
Perl DBI escape reserved word in Ingres databaseby jtech (Sexton) |
on Feb 22, 2019 at 12:51 UTC ( [id://1230378]=perlquestion: print w/replies, xml ) | Need Help?? |
jtech has asked for the wisdom of the Perl Monks concerning the following question: Hi ladies and gentlemen Can you help me to scape a reserved double quoted column name from an Ingres database, please? The difference is the column name open is between double quotes, probably because it is a reserved word in the Ingres database. The SQL query works fine using double quotes or not, in the SQL terminal. The Perl code below works great:
But, the Perl code below returns the error: "Argument "true" isn't numeric in subroutine entry at ./new.pl line 104."
So, I have escaped the quotes using the below chars without success:
Also, it has been combined with q// and qq//
Back to
Seekers of Perl Wisdom
|
|