|
Archives of the TeradataForumMessage Posted: Tue, 01 Jun 2010 @ 09:59:23 GMT
Don't use a cursor! Cursors are for transaction by transaction based execution (row by row). You'll need to switch to "block style" processing - that is, processing 100,000 or more rows per "statement" in order to get performance. Even in Oracle, cursors like this will always be slow. Hope this helps, Dan Linstedt
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||