Brian Leeming
Brian Leeming

Reputation: 11730

What's the Azure Table storage equivalent of the T-SQL delete table command?

I am developing an application that is logging test messages to Azure table storage. I want to clean up the table so that I can quickly see the most recent set of records. Querying in Azure Storage Explorer by specifying the Timestamp takes 30 seconds or so.

What's the fastest way to delete all records in a specific table in Table Storage?

Upvotes: 0

Views: 444

Answers (1)

mcollier
mcollier

Reputation: 3719

Delete the entire table. You may have to wait a few minutes (depending on the size of the table being deleted) before you can recreate the table with the same name.

Upvotes: 1

Related Questions