Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : ASP : ADO/ODBC : Filtering a data field Signup · Login
Author Thread
Filtering a data field
Posted in tutorial: Searching and sorting records in a recordset from the database
·  crs0000
User
Joined: 26 Apr 2003
Total Posts: 1
Filtering a data field
Posted: 26 Apr 2003
I want to search a specific data field and filter out duplicate entries, displaying just the unique entries in that field. An example would be to search a field named "city". The results would be just a list (report) of just the unique cities entered into the database.

How can I do this??

webmaster@crseelinger.com
·  remerton
User
Joined: 16 Jun 2003
Total Posts: 1
re: search a specific data field and filter out duplicate entries
Posted: 16 Jun 2003
What you want is a

SELECT DISTINCT cityname FROM datatable

Good luck

-- Ross

Users Who Have Visited This Thread In Last 24 Hours
2 Visitors

Login
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2009 Stardeveloper.com, All Rights Reserved.