RE: How to count the number of records of sql statement with DISTINCT?
From: Brian (anonymous_at_discussions.microsoft.com)
Date: 04/20/04
- Next message: Tim Rude: "Re: Textbox Locked property"
- Previous message: Ken Halter: "Re: REQ: Dec2Hex creating a two digit hex value (VB6)"
- In reply to: Fie Fie Niles: "How to count the number of records of sql statement with DISTINCT?"
- Next in thread: Fie Fie Niles: "Re: How to count the number of records of sql statement with DISTINCT?"
- Reply: Fie Fie Niles: "Re: How to count the number of records of sql statement with DISTINCT?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Apr 2004 12:46:09 -0700
It may depend on your DBMS. Oracle and SQL server will allow just what you are doing (Select Count(distinct X) from TBLX....). Im not sure if this works on all/most databases though.
- Next message: Tim Rude: "Re: Textbox Locked property"
- Previous message: Ken Halter: "Re: REQ: Dec2Hex creating a two digit hex value (VB6)"
- In reply to: Fie Fie Niles: "How to count the number of records of sql statement with DISTINCT?"
- Next in thread: Fie Fie Niles: "Re: How to count the number of records of sql statement with DISTINCT?"
- Reply: Fie Fie Niles: "Re: How to count the number of records of sql statement with DISTINCT?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|