Редактиране

Споделяне чрез


Quickstart: Create a table in the Azure portal

This quickstart shows how to create tables and entities in the web-based Azure portal. This quickstart also shows you how to create an Azure storage account.

If you don't have an Azure subscription, create an Azure free account before you begin.

Prerequisites

To complete this quickstart, first create an Azure storage account in the Azure portal. For help creating the account, see Create a storage account.

Add a table

To create a table in the Azure portal:

  1. Navigate to your storage account in the Azure portal.

  2. Select Storage Browser in the left-hand navigation panel.

  3. In the Storage Browser tree, select Tables.

  4. Select the Add table button to add a new table.

  5. In the Add table dialog, provide a name for the new table.

    Screenshot showing how to create a table in Storage Browser in the Azure portal.

  6. Select Ok to create the new table.

Add an entity to the table

To add an entity to your table from the Azure portal:

  1. In the Storage Browser in the Azure portal, select the table you created previously.

  2. Select the Add entity button to add a new entity.

    Screenshot showing how to add a new entity to a table in Storage Browser in the Azure portal.

  3. In the Add entity dialog, provide a partition key and a row key, then add any additional properties for data that you want to write to the entity.

    Screenshot showing how to add properties to an entity in Storage Browser in the Azure portal.

For more information on working with entities and properties, see Understanding the Table service data model.

Next steps