Quote:
Originally posted by rhs98
try
Code:
Select blah blah blah
union
select blah blah blah
This will join the two result sets together; I am assuming they have the same # of fields?
or make a linked list.
Anyway don't think asp supports dynamically re-sizing arrays??!
|
Thanks for advice, I have managed to append additional arrays together using redim preserve which resizes the array to the size required but keeping the current values intact.
I've then created a function to remove duplicates from the array but I might try to use UNION to join my SQL strings but how would I make sure the second did not bring back result found by the first SQL query
Could you provide an example of where the DISTINCT would go in a UNION Join (I guess that is what I should use)
Oh and I'm using MySQL so no procedures me thinks...
Thanks