|
|
Archives of the TeradataForum
Message Posted: Tue, 26 Aug 2003 @ 20:39:20 GMT
Subj: | | Re: SAMPLE Statement- Divide by 0 issue |
|
From: | | Simon Bloomer |
Hi again
Having tried some mind-bending tricks to get round this issue, I have discovered that our sample clause does work to a certain extent if
I include a where clause restricting it to returning less than 200k rows. It consistently works if the where clause returns less that 100k
rows. SOMETIMES it might work up to 300k rows, but never more than that.
As a way to avoid using the sample clause, is there a way to return the row hash value so I can write a simple statement to achieve a
similar result?
Simon
| |