Archives of the TeradataForum
Message Posted: Thu, 03 Apr 2003 @ 17:02:06 GMT
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.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|