TechBubbles Microsoft Technology BLOG

ArchiveApril 2010

PIVOT & UNPIVOT Operators in SQL Server 2008

PIVOT is a new T-SQL operator introduced in SQL Server 2008 which can be used to rotate rows into columns and can create a crosstab query. You can specify the PIVOT operator in FROM clause of your query.
Using PIVOT
Specify the desired values that you want to see in SELECT statement and FROM clause contains the PIVOT statement. Let us take an example

Introducing DotnetSizzler.com

Dear Readers, I have come up with a new BLOG DotnetSizzler that serves as a center that offers my services and is a platform for discussion and sharing of Tips & Tricks, Design Principles, Best practices, updates and techniques pertaining to Microsoft Technologies. Major Stress will be on code snippets on .NET Technologies. I am to share the projects that I have lead and wish to continue as a...

MERGE Statement in SQL Server 2008

There has been significant T-SQL improvements in SQL Server 2008. This post explores the most notable changes in T-SQL introduced in SQL Server 2008. The MERGE Statement As name says, It combines Insert,Update, and Delete operations along with the Select operation which provides the source and target data for merge. In earlier versions, We need to write separate multiple statements to achieve the...

TechBubbles Microsoft Technology BLOG

Follow me

Archives

Tag Cloud