I've just noticed that SQLDataSource counts records using COUNT(*) even if I specify a selectClause. I've specified:
<selectClause>DISTINCT $defaultSelectClause</selectClause>
so counting records using COUNT(*) is not correct.
<selectClause>DISTINCT $defaultSelectClause</selectClause>
so counting records using COUNT(*) is not correct.
Comment