---
title: "Discussion on \"Understanding SQL Server PIVOT and UNPIVOT with example\" | Hashnode"
description: "Discussion on \"Understanding SQL Server PIVOT and UNPIVOT with example\". PIVOT and UNPIVOT are relational operators for converting table expression into another."
url: "https://hashnode.com/posts/understanding-sql-server-pivot-and-unpivot-with-example/627f3aa601c71be2bfe0088f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Understanding SQL Server PIVOT and UNPIVOT with example](https://mssqlserver.dev/understanding-sql-server-pivot-and-unpivot-with-example?utm_source=hashnode&utm_medium=feed)

PIVOT and UNPIVOT are relational operators for converting table expression into another.

May 14, 2022 · 5 min read · mssqlserver.dev  
Updated Feb 10, 2023  
Read the article

-   [#sql](https://hashnode.com/tag/sql)
-   [#sql-server](https://hashnode.com/tag/sql-server)
-   [#databases](https://hashnode.com/tag/databases)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#sqltutorial](https://hashnode.com/tag/sqltutorial)

## Written by

[kiran sabne](https://hashnode.com/@kiransabne)

@kiransabne

  
[View profile](https://hashnode.com/@kiransabne)

SQL Developer and Backend Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
