Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Same hash for different values - forum topic by kusumayella

$
0
0

 

 

Hi All,

 

I tried to see hasrow for 2 sets of data, almost same data except for few values,I was expecting it to return different hashrows as all the values are not same but i got same hashrow for both the queries.

 

I provided both of them below, It will be helpful if I can get some explanation on why it is behaving so...or the way which i have tried is proper or not?

 

sel  HASHROW( 

'2013-04-16'

,'9999-12-31'

,0.000

,0.000

,0.000

,0.000

,''

,'Y'

,1465131

,'Y'

,0.00

,'Y'

,'N'

);

 

***************

Result:

91-2A-42-24

 

**************

 sel

 hashrow(

'2013-04-16'

 ,'9999-12-31'

 ,0.000

 ,0.000

 ,0.000

 ,0.000

 ,''

 ,'N' --different value

 ,1465131

 ,'Y'

 ,0.00

 ,'Y'

 ,'Y' --different value

  )

***********
Result:
91-2A-42-24
 
Thanks in advance..

Forums: 

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>