简体   繁体   中英

Updating entity data to Azure storage table with Azure Storage Explorer Query

can you help me please? I want to update all entities with a query.

If you're looking for UPDATE Table Where SomeProperty = SomeValue kind of update operation which are available in a relational database, unfortunately it is not possible to do so with Azure Tables. Simply put, you can't issue an update query against a table in Azure Tables to update entities in that table.

What you need to do is first fetch the entities and once the entities are fetched, you update those entities on the client side (ie in the application where you fetched the entities) and then perform update operation on these entities.

You could possibly do an Entity Group Transaction for the entities that you need to update to avoid multiple network calls (each entity update operation is a separate network call) and get transaction support. However there're some requirements for performing an Entity Group Transaction which can be found on the page I linked.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM