Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to eliminates the dupicates in stright table

Dear all

   i have which is like a  Date field  it showing  n Number of dupicates  and    in script level  i used  load Distincrt  also. XYZ 

XYZ

09-09-2010

09-09-2010

09-09-2010

Regards

surik147

4 Replies
Not applicable
Author

hi

use count(distinct(xyz))

thanks

Not applicable
Author

sorry boss it not working

Gysbert_Wassenaar

Make sure you're dates don't have time fractions or they will be distinct even though the date parts are the same. You can use the floor function to cut of the time fractions:

load distinct

floor(XYZ) as XYZ

from ....


talk is cheap, supply exceeds demand
Not applicable
Author

Thank for   uer reply

it  not working man