Discussion on:

Message 2 of 2
0 Votes
+ -
CLR Integration
re:You must know your pivot columns ahead of time
----- ----- ----- ----- -----

Not necessarily. This is because Yukon's TSQL integrates with CLR (Common Language Runtime).

In this article (http://builder.com.com/5100-6388_14-5168118-1-1.html) you can see how to embed .NET code right into the SQL statements. You can use it to programatically determine the necessary columns. In some cases (and with somewhat less demand on system resources), you could even use TSQL's procedural code to get the columns or column names.
15th Oct 2004