Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Distinct not giving distinct values
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Distinct not giving distinct values
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01283146
Message ID:
01283146
Views:
50
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
Next
Reply
Map
View

Click here to load this message in the networking platform