azwaan
Programmer
- Jan 11, 2002
- 42
i basically want to get a count of all distinct values in a specific column.
i have the following statement which returns unique tranid's . distinct clause is necessary cos table contains duplicate tranid's.
"select distinct tranid from temptransactions"
how do i get a count of these fields? Distinct Count?
i have the following statement which returns unique tranid's . distinct clause is necessary cos table contains duplicate tranid's.
"select distinct tranid from temptransactions"
how do i get a count of these fields? Distinct Count?