starheartbeam
02-02-2009, 02:26 PM
So I have this file named billing.java and I was wanting to know if I can put SQL statement in this file. And if so how would I go about doing this.
I would really like to put it in an IF statement.
Example:
if (billingsystem== billing1)
{
select.........sql statement
}
if(billingsystem==billing2)
{
select......some sql statement
}
if(billingsystem==billing3)
{
select......some kind of sql statement
}
any help would be great!!!
I would really like to put it in an IF statement.
Example:
if (billingsystem== billing1)
{
select.........sql statement
}
if(billingsystem==billing2)
{
select......some sql statement
}
if(billingsystem==billing3)
{
select......some kind of sql statement
}
any help would be great!!!