> ## Documentation Index
> Fetch the complete documentation index at: https://notes.kodekloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Demo Table Storage

> Learn to create and manage Table Storage in Azure for structured, non-relational data.

In this walkthrough, you’ll learn how to create and manage Table Storage in an Azure Storage account. Table Storage offers a NoSQL key-value store that’s ideal for structured, non-relational data.

## Prerequisites

* An active Azure subscription
* A standard Storage account (supports blobs, files, queues, and tables)
* Contributor or Storage Table Data Owner role on the storage account

## 1. Create a New Table

1. Sign in to the [Azure portal](https://portal.azure.com) and open your storage account.
2. In the left menu, select **Tables** under **Data storage** to view the table namespace.
3. Click **+ Table**, enter **SalesOrders**, and then click **OK**.

<Frame>
  ![The image shows an Azure portal interface displaying a table named "SalesOrders" with options for access policy, access control, and deletion.](https://kodekloud.com/kk-media/image/upload/v1752873028/notes-assets/images/DP-900-Microsoft-Azure-Data-Fundamentals-Demo-Table-Storage/azure-portal-salesorders-table-interface.jpg)
</Frame>

<Callout icon="lightbulb" color="#1CB2FE">
  A single storage account provides one table namespace. Within it, you can create multiple tables (for example, `SalesOrders`, `Inventory`, or `Customers`) for logical separation.
</Callout>

## 2. Explore the Storage Browser

To manage all your storage resources in one place:

1. From the storage account menu, click **Storage Browser**.
2. You’ll see containers, file shares, queues, and tables listed together.

<Frame>
  ![The image shows a screenshot of the Azure Storage browser interface, displaying storage account metrics for blob containers, file shares, tables, and queues.](https://kodekloud.com/kk-media/image/upload/v1752873029/notes-assets/images/DP-900-Microsoft-Azure-Data-Fundamentals-Demo-Table-Storage/azure-storage-browser-screenshot-metrics.jpg)
</Frame>

## 3. Add an Entity to Your Table

1. In **Storage Browser**, choose **Tables** then select **SalesOrders**.
2. Click **Add Entity** at the top of the table view.

Every entity requires two system keys:

* **PartitionKey**: Groups related entities for performance and scalability.
* **RowKey**: Uniquely identifies an entity within a partition.

<Callout icon="triangle-alert" color="#FF6B6B">
  Avoid duplicate `PartitionKey`+`RowKey` combinations, or your insert will fail with a conflict error.
</Callout>

### Configure Your Entity

| Property     | Type   | Value  |
| ------------ | ------ | ------ |
| PartitionKey | String | Canada |
| RowKey       | String | 1      |
| ProductId    | String | A123   |
| Quantity     | Int32  | 4      |
| Price        | Double | 5.25   |

After entering these values, click **Insert**.

<Frame>
  ![The image shows a Microsoft Azure interface where a user is adding an entity to a table named "SalesOrders" with properties like PartitionKey, RowKey, ProductId, Quantity, and Price.](https://kodekloud.com/kk-media/image/upload/v1752873030/notes-assets/images/DP-900-Microsoft-Azure-Data-Fundamentals-Demo-Table-Storage/azure-interface-salesorders-entity-addition.jpg)
</Frame>

## 4. View and Verify Your Data

Once inserted, the entity appears in the table grid. You can scroll horizontally to see all columns, including the automatically assigned **Timestamp**.

<Frame>
  ![The image shows a Microsoft Azure Storage browser interface displaying a table named "SalesOrders" with a single entry. The entry includes details such as PartitionKey "Canada," RowKey "1," a timestamp, ProductId "A123," and a quantity of "4."](https://kodekloud.com/kk-media/image/upload/v1752873031/notes-assets/images/DP-900-Microsoft-Azure-Data-Fundamentals-Demo-Table-Storage/azure-storage-salesorders-table-entry.jpg)
</Frame>

<Callout icon="lightbulb" color="#1CB2FE">
  If the portal interface feels limited, try [Azure Storage Explorer](https://azure.microsoft.com/en-us/features/storage-explorer/) for a desktop experience with more powerful browsing and management capabilities.
</Callout>

## Next Steps

* Query your table using the Azure SDKs or REST API
* Implement batch inserts and deletes for bulk operations
* Monitor table metrics and optimize partition strategies

## References

* [Azure Table Storage overview](https://learn.microsoft.com/azure/storage/tables/table-storage-overview)
* [Azure Storage Explorer](https://azure.microsoft.com/en-us/features/storage-explorer/)
* [Table service REST API](https://learn.microsoft.com/rest/api/storageservices/table-service-rest-api)
* [Azure portal documentation](https://learn.microsoft.com/azure/azure-portal/)

<CardGroup>
  <Card title="Watch Video" icon="video" cta="Learn more" href="https://learn.kodekloud.com/user/courses/dp-900-microsoft-azure-data-fundamentals/module/cf08821c-abc1-43a0-b8aa-a294849914c0/lesson/bda06ad0-d04d-4dbb-b501-40cbb4e4ab85" />
</CardGroup>
