|
Archives of the TeradataForumMessage Posted: Tue, 04 Feb 2014 @ 16:35:19 GMT
Andy, It makes a difference in an SQL query, but as was already said, the views come back to pretty much the same thing internally. Doing a "SEL COL1 FROM VIEW_WITH_SEL_STAR;" makes the same spool file as "SEL COL1 FROM VIEW_WITH_SEL_COLLIST;". It will take COL1 and potentially a UniqueId into Spool Asgnlist in both cases. On the other hand: "SEL * FROM view;" takes all columns into spool. "SEL COL1 FROM view;" makes a smaller spool file, no matter which syntax was used to create the view. Tomas
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||