View Single Post
  #1 (permalink)  
Old 07-20-2007, 04:59 AM
cplmckenzie cplmckenzie is offline
Member
 
Join Date: Jul 2007
Posts: 2
cplmckenzie is on a distinguished road
Using a variable in a SELECT FROM WHERE query
Hi,
I have a java web app that accesses a MySQL database.

It works well except that I am unable to to retrieve a rowset when I use

the WHERE clause with a variable... as in

SELECT * FROM tablename WHERE tablename.fieldname = variablename

Any help is appreciated

regards,
Reply With Quote
Sponsored Links