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,
Using a variable in a SELECT FROM WHERE query
No. The query executed but it said "No Items Found" as though the variable was null.
I was attempting to change the query string in a SessionBean setcommand.Value
regards,