memphisTNdev22
Programmer
I am trying to union three queries as a string and my last select statement is attaching to the union..
For example.
String s1 ="select * from table"
String s2 = "select * from table"
String s3 = "select * from table"
String s4 = " s1 + " UNION " + s2 + "UNION" +s3 ;"
The output looks like
select * from table union select * from table unionselect *from table.
For example.
String s1 ="select * from table"
String s2 = "select * from table"
String s3 = "select * from table"
String s4 = " s1 + " UNION " + s2 + "UNION" +s3 ;"
The output looks like
select * from table union select * from table unionselect *from table.