Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Odd Database Behavior

by pg (Canon)
on Dec 15, 2003 at 17:15 UTC ( [id://314854]=note: print w/replies, xml ) Need Help??


in reply to Odd Database Behavior

Two things:

  • Drop the single quotes around the ? mark to make the syntax right
  • As you use count in your SQL statement, you will always get one row back, thus checking the size of result set makes no sense, simply use the count you get.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-03-28 13:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found