Re: variable in sql query
- From: "Alexey Shevchenko" <ash@xxxxxxxxxxx>
- Date: Mon, 27 Feb 2006 17:53:20 +0200
You can use also :)
String fieldName ="New York";
String qry ="select * from table where name_of_field like " + fieldName;
"Anna Kubiak" <anna.maria.k@xxxxxxxxx> wrote in message
news:93924$43fd2d67$d4ba9c70$10209@xxxxxxxxxxxxxxxxx
Hi, excuse me, can anybody help?
how to write variable from another void to string containing sql query?
for example
String qry ="select * from table where name_of_field like variable";
thanks in advance,
anna kubiak
.
Relevant Pages
- variable in sql query
... how to write variable from another void to string containing sql query? ... (comp.lang.java.databases) - Re: Instrumentation + BCEL | ASM
... final String owner, ... Strangely enough, with this method added, I can only transform methods with exactly one argument of type String). ... But I don't seem to know how to get hold of method signature, so there can be problems if consecutive threads call timed methods with the same name, but different signatures. ... private void genStartCode() { ... (comp.lang.java.programmer) - Yet another way to use Java
... * @param mainClass e.g. FontShower, ... StompProject (String mainClass, ... * does this project have a jar ... void mkDescBtm() ... (comp.lang.java.programmer) - Re: Creating multiple instances of objects
... > Can you post the server maincode, your IDL, and the full stack ... // Naming Service specification. ... typedef string tTbls; ... void SetCurrentTableraises; ... (comp.object.corba) - Re: Setting a Default Value
... the query string value each time I needed to ... going to assign the default value through a database query. ... run the following SQL query: select * from table where x = 1 ... public static string SafeSessionGet ... (microsoft.public.dotnet.framework.aspnet) |
|