|
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,
|