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 like below.
sqlStr = "
SELECT a
,b
,c
,d
,e
FROM tableA
WHERE user_id = '"+ userID +"'
"
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 like below.
sqlStr = "
SELECT a
,b
,c
,d
,e
FROM tableA
WHERE user_id = '"+ userID +"'
"