View Single Post

   
  #2 (permalink)  
Old 02-28-2008, 07:49 PM
louis nguyen
 
Posts: n/a
Default Re: 'joining' results of 2 queries

Hi Matt,

Union sorts the data and tries to remove duplicates. Use UNION ALL to
override this behavior. If the data is stored in a table, use an
identity column to preserve the order. - Louis
Reply With Quote