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 get Customer Address based on purpose in ax 2012