Viewing 2 posts - 1 through 2 (of 2 total)
The UNION statement will impose a removal of duplicate records. With such large record volumes this can impose a reasonable load on the processor.
If no duplicates are expected you...
October 25, 2010 at 11:24 pm
#1242036
Could you try the query (remotely) without having any function calls but with the 'where' condition in tact, for example:
SELECT '01',...
October 25, 2010 at 7:59 pm
#1242014