Archives of the TeradataForum
Message Posted: Thu, 03 Apr 2003 @ 17:02:06 GMT
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.
Mike
|