docs对于 .drop table
来说,这仅对数据进行软删除。另一方面,.clear table data
does not mention这个。
所以我想知道,如果我想硬删除/删除表及其数据,我应该先运行 .clear table data
然后只删除表吗?或者这会导致与仅运行 .drop table
相同的结果吗?
最佳答案
.clear table data
与 .drop table
的作用相同。如果您需要强制硬删除数据(例如出于 GDPR 目的),那么您可以考虑清除整个表 - https://learn.microsoft.com/en-us/azure/data-explorer/kusto/concepts/data-purge#purging-an-entire-table .
关于Azure 数据资源管理器 - 在删除表之前清除表数据?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/76129188/