<pedrocorreia.net ⁄>
 

<PIVOT and UNPIVOT Operators ⁄ >




clicks: 557 557 2009-09-23 2009-09-23 goto programacao myNews programacao  Bookmark This Bookmark This


I would start with EXCEL spreadsheets to explain what a PIVOT is. In MS Excel 5.0 new functionality was introduced called a 'PivotTable'. Pivot tables are two-dimensional visualization of multidimensional data structures applied in OLAP technology for data warehousing. More correctly say it is two-dimensional sections of three-dimensional OLAP-cubes, if we keep in mind existence of element called "page" on pivot table. You can do common operations with pivot tables under multidimensional structures, for example, mentioned above cube sectioning, consolidation and detail - deconsolidation operation.

It should be said that the pivot table is not a relational, because not only has the column headers, but also has the row headers, while both are formed from data stored in the columns of usual relational tables. It means that numbers of rows and columns is unknown, because they are formed dynamically by querying relational data. In addition, the headers may be multi-level sub-headings that enable the operation of consolidation (move to a higher level of hierarchy) and detail (move to a lower level of the hierarchy).

Such properties allow using pivot tables along with pivot charts in EXCEL as a client to visual displaying of multidimensional data stored in data warehouses that are supported by different DBMS (for example MS SQL Server Analysis Services).



este é só um excerto do artigo, para aceder ao artigo completo, clique no link em baixo:
this is just a small excerpt from the article, to access the full article please click in the link below:

http://www.sql-tutorial.ru/en/book_operator_pivot_unpivot.html




Subscribe News RSS  Subscribe News Updates by E-mail





myNews <myNews show="rand" cat="programacao" ⁄>

Android Intents - Tutorial

Intents allow the application to request and / or provide services . For example (...)

clicks: 42 42 2010-07-30 2010-07-30 goto url (new window) vogella.de/arti... goto myNews programacao


Android Development - Hierarchy Viewer

The Android SDK comes with a wide variety of tool that are intended to help deve (...)

clicks: 43 43 2010-07-29 2010-07-29 goto url (new window) barebonescoder.... goto myNews programacao


JavaScriptSerializer - Dictionary to JSON Serialization and Deserialization

Few weeks ago I was working with the JavaScriptSerializer for serializing objec (...)

clicks: 43 43 2010-07-29 2010-07-29 goto url (new window) weblogs.asp.net... goto myNews programacao


Memoizing higher-order functions

Memoization incrementally converts functions into data structures. It pays off w (...)

clicks: 36 36 2010-07-29 2010-07-29 goto url (new window) conal.net/blog/... goto myNews programacao


20+ Required Windows Apps: Web Designer's Choice

In April, Jeffrey Way gave us a list of the "20 Mac Apps You'll Use Every Day." (...)

clicks: 56 56 2010-07-28 2010-07-28 goto url (new window) net.tutsplus.co... goto myNews programacao


Introducing ASP.NET MVC 3 (Preview 1)

This morning we posted the "Preview 1" release of ASP.NET MVC 3. You can downlo (...)

clicks: 80 80 2010-07-28 2010-07-28 goto url (new window) weblogs.asp.net... goto myNews programacao


Uploading a File (Or Files) With ASP.NET MVC

I wanted to confirm something about how to upload a file or set of files with AS (...)

clicks: 76 76 2010-07-27 2010-07-27 goto url (new window) haacked.com/arc... goto myNews programacao


Android - Multithreading For Performance

A good practice in creating responsive applications is to make sure your main UI (...)

clicks: 45 45 2010-07-27 2010-07-27 goto url (new window) android-develop... goto myNews programacao