經安全檢測,此網站為安全網站,請放心前往原始網址!

group by - COUNT(DISTINCT) in multiple columns in SQL Server 2008 - Stack Overflow

In Oracle, it's possible to get a count of distinct values in multiple columns by using the || operator (according to this forum post, anyway): SELECT COUNT(DISTINCT ColumnA || ColumnB) FROM MyTable Is there a way to do this in SQL Server 2008? I'm trying

stackoverflow.com

網址安全性掃描由 google 提供