SQL Server 中的 checkpoint

作者:vkvi 来源:ITPOW(原创) 日期:2023-5-27
delete from attachments where id=1; checkpoint;

假如 attachments 表,字段直接存储了文件内容,加上 checkpoint,则在删除记录的同时,立即删除文件。

相关文章