Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Thu, 03 Apr 2003 @ 17:02:06 GMT

  <Prev Next>   <<First <Prev

Subj:   Re: Macro Question
From:   Michael Larkins

There are a couple of possibilities:

1. use a derived table to store the results of your first select and select from it one time

2. use a Global temporary table and insert the rows from the first select into it and select from it as many times as you need

Without knowing more about what you are attempting to do, these might help, or at least provide ideas to satisfy your specific need.


  <Prev Next>   <<First <Prev
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016