in reply to Can't fetch using 2 placeholders in SELECT statement

Is this a trick question? You are passing the query
string the values you are wanting back, you aren't
getting any new informaiton. Was this just an example?

I tested just the while loop and it seems fine, the only
thing I could think is that maybe there are more then one
whitespace characters between the two values.

  • Comment on Re: Can't fetch using 2 placeholders in SELECT statement