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: Viola Hanson   on Apr 20

This is how I will do it:
String myVar= "8888888";
rset = stmt.executeQuery(" SELECT
log_field1 " + " FROM " + "transaction0 where "+
"'log_field5='" +myVar+ ")";

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: