DISTINCT applies to the entire row, not individual columns.
>I am trying to get distinct values on one of the character type column that has numerical values. The field is called e_pic.
>
>
>SELECT DISTINCT e_pic as imageid, e_dob as dob, e_empstatus as extrahelp, e_flg13 as eyes, e_id as eid,;
> e_flg14 as wt, e_flg15 as ht, e_flg16 as pmt, e_fname as firstname, e_lname as lastname, ;
> e_mi as mi, e_phq as division, e_unit as unit, e_class as pos_class ;
> from rv_employee_tbl_c_drive INTO CURSOR crs_data ORDER BY imageid
>BROWSE
>
>
>the result is still returning duplicate values. What am I doing wrong here?
>thanks in advance..
>
>nick
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer