Quote:
Originally Posted by devils'advocate
not directly in an sql statement. You would need to write some dynamic sql that uses the system tables. What engine do you have? Ms-sql?
|
ms-sql (2008)
The only way I keep coming back to is a series of union statements which gets really ugly really fast.