Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Odd Database Behavior

by pg (Canon)
on Dec 15, 2003 at 17:15 UTC ( #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
Node Status?
node history
Node Type: note [id://314854]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2021-04-12 22:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?