what's proper syntax for
count (distinct *) from t1
I am getting he following error:
[Err] 42000 - [SQL Server]Incorrect syntax near the keyword 'distinct'.
what's proper syntax for
count (distinct *) from t1
I am getting he following error:
[Err] 42000 - [SQL Server]Incorrect syntax near the keyword 'distinct'.
select count(*)
from
(
select distinct * from your_table
) x