Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Tue, 26 Aug 2003 @ 09:55:19 GMT

  <Prev Next>  
Next> Last>>  

Subj:   SAMPLE Statement- Divide by 0 issue
From:   Simon Bloomer

Hi all

I am attempting to use the SAMPLE function to generate sample data-sets for a neural network analysis

As a simple test I use

select tran_date, tran_id, barcode, SAMPLEID from detail_food_tbl SAMPLE 0.6, 0.25, 0.15;

Unfortunately it fails with

Code = 2618. 2618: Invalid calculation: division by zero. Output directed to Answer set window

Anybody know of any issues with this type of query. I have had no luck with the NCR Knowledge Base. We are running RELEASE V2R.

On Windows 2000.



  <Prev Next>  
Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020