Hello Everybody!
I hope that all you will be fine. My Question is with reference of
java.
I want to define formula in database and access by the rs.getString("") in java class and execute.
for example:
"(a * b)/c*100"
public int myFormul()
{
int a = 32, b = 20, c = 2,result = 0;
try
{
String Str_Variable = rs.getString("");
result = Str_Variable;
System.out.println(result);
}
}
How is it possible in java? please write any example for it.