By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,266 Members | 1,312 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,266 IT Pros & Developers. It's quick & easy.

select distinct * --- possible??

P: 91
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.
Nov 17 '08 #1
Share this Question
Share on Google+
3 Replies


ck9663
Expert 2.5K+
P: 2,878
Did you try it?

-- CK
Nov 17 '08 #2

P: 91
Yes i did try . The entire table is displayed with all records & duplicate values in columns.not the desired result i want.
Nov 17 '08 #3

ck9663
Expert 2.5K+
P: 2,878
Could you post the result here? Just a few columns and rows that shows those duplicates.

-- CK
Nov 17 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.