Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Why does my query work on the command line, but fail in my browser?

by cavac (Parson)
on Jul 15, 2012 at 21:57 UTC ( [id://981937]=note: print w/replies, xml ) Need Help??


in reply to Why does my query work on the command line, but fail in my browser?

The query

INSERT member (last, first) VALUES(NULL, "chromatic");
also uses double quotes. Most databases either don't accept that, or interpret it in some other way (like PostgreSQL, which uses it to indicate that column name or table name is case sensitive.

This is especially problematic when you just copy the whole string from whatever tool you use to test the queries into Perl.

  • Comment on Re: Why does my query work on the command line, but fail in my browser?
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-26 02:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found