Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Thu, 18 Jan 2001 @ 14:25:56 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: Unique Value Algorithm
From:   Sudarsan Thopay


You can concate sytem date (and system time) to the three integers. For example if 1,2,3 are the three integers

     sel    trim(cast (date as integer) ) || trim( cast(time as integer))||

will give an unique number.



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