Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Alma Austin   on Apr 20 In Java Category.

  
Question Answered By: Al Allen   on Apr 20

Not really sure what you're exactly trying to do but
you can always just concatenate the string using your
arguments.
i.e.
....
resultSet = stmnt.executeQuery("Select * from " +
tableName + " where log_field1 = '" + value + "'");
....

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Using an Argument in Select Statement Or get search suggestion and latest updates.


Tagged: