|
Archives of the TeradataForumMessage Posted: Wed, 12 Dec 2007 @ 22:27:11 GMT
Castelli: The best way to do this is use TOP n in your SELECT to only put that many rows into SPOOL. You can use .export report file=filename.txt, limit=n /* n = number of rows */ However, this will not limit the rows put into SPOOL. Instead, after all the rows have been selected, it will return only that many rows and then throw the rest away. Regards, Michael Larkins
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||