Thx for quick response.
When you say 'UGLY' you mean the sql is big and slow? If this is possible then can you show me the sample code based on my original sql statement?
Here is what I'm doing for this.
I'm executing the sql in servlet and put the results into context and pass to velocity...
Hi all,
I have this sql string
select tt.ENTRYID,
tt.PROJECT,
tt.DEVELOPER,
tt.TASK,
tt.DESCRIPTION,
to_char(tt.WORKDATE, 'MM/DD/YYYY') as WORKDATE,
tt.DURATION,
tt.MILEAGE,
p.PROJECTNAME,
u.USERNAME
from TIMETRACKER tt...
Thank you for quick response.
However, I need more help if you can help me.
I know that
String sqlStr = "select name " +
"from tableA " +
"where name = '" + username + "'";
is the only way to make work on sql string. My...
I'm very familiar with Coldfusion language and now trying to learn Java. Java gives me so much headache...
I have a question about sql string. Is there way to read this kind of query from the java? Of course java throws the error here but I'm hoping that there's way to parse this sql string...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.