Discussion on:

2
Comments

Join the conversation!

Follow via:
RSS
Email Alert
Yeah,a great leap forward!:).You must know your pivot columns ahead of time!Where as in Access they are created dynamically if desired.For a true replacement of the Access crosstab dynamic pivot functionality on sql server check out the RAC utility at www.rac4sql.net.Like Access but much more powerful with many features/options.And RAC can simplify many other common problems besides crosstabs.
0 Votes
+ -
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.
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.