Shrink command for AxDB Sql log file to free space in development VM D365FO

Please execute below commands in SQL Server on AxDB.

USE AxDB;  

GO  

ALTER DATABASE AxDB

SET RECOVERY SIMPLE;  

GO  

DBCC SHRINKFILE (N'AxDBCopy1_Log', EMPTYFILE);  

GO  

Comments

Popular posts from this blog

x++ code to add hyperlink to a field in D365FO

x++ code to get Vendor Email Address based on Purpose in Dynamics 365 for Operations

x++ code to find Vendor Primary Contact Details in ax 2012