Connecting Tech Pros Worldwide Forums | Help | Site Map

select distinct * --- possible??

Member
 
Join Date: Sep 2008
Posts: 74
#1: Nov 17 '08
Hello everyone,

i have a table with 300 columns (imported from a text file). Is it possible to write a "select distinct * from tablename" statement. it would be tedious to write 300 column names for DISTINCT...so will DISTINCT * work here??? if not what else could be the best way to select distinct records? Thanks.
ck9663's Avatar
Expert
 
Join Date: Jun 2007
Posts: 1,925
#2: Nov 17 '08

re: select distinct * --- possible??


Did you try it?

-- CK
Member
 
Join Date: Sep 2008
Posts: 74
#3: Nov 17 '08

re: select distinct * --- possible??


Yes i did try . The entire table is displayed with all records & duplicate values in columns.not the desired result i want.
ck9663's Avatar
Expert
 
Join Date: Jun 2007
Posts: 1,925
#4: Nov 17 '08

re: select distinct * --- possible??


Could you post the result here? Just a few columns and rows that shows those duplicates.

-- CK
Reply