Not Distinct SQL Query 
Author Message
 Not Distinct SQL Query

What database? If it's SQL Server, NOT IN might do the job.

 - Tom



Quote:
> I am trying to do something like this...

> "SELECT NOT DISTINCT {*filter*}.NDC FROM {*filter*}"

> The above statement of course gives me an error.  What I am trying to
do is
> filter out the non-unique values from a table that has over 150,000
records
> in it.  Does what the best SQL statement would be to accomplish this?

> Thanks in advance.

> Lowry




Mon, 22 Sep 2003 01:48:38 GMT  
 Not Distinct SQL Query
I am trying to do something like this...

"SELECT NOT DISTINCT {*filter*}.NDC FROM {*filter*}"

The above statement of course gives me an error.  What I am trying to do is
filter out the non-unique values from a table that has over 150,000 records
in it.  Does what the best SQL statement would be to accomplish this?

Thanks in advance.

Lowry



Mon, 22 Sep 2003 01:35:12 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. difference between DISTINCT and DISTINCTROW (in a SQL query)

2. DISTINCT and DISTINCTROW in a SQL query?

3. Distinct Clause in SQL Query

4. SQL DISTINCT does not seem to work ??

5. Distinct Corporation's ICMP control and WINS query

6. Distinct Corporation's ICMP control and WINS query

7. distinct query

8. Problem with Memo field in SELECT DISTINCT queries

9. Distinct query question?

10. Recordset error using DISTINCT in MSSQL7 query

11. Distinct Query with ADOCE

12. how can I build 2 queries in 1 query(VB SQL query)

 

 
Powered by phpBB® Forum Software