Importing Database from Uat to Dev Enviroment in D365 FO

.. First Move Uat Database From LCS




than Once Database Exported download it from asset library.

Once downloaded Run this command in SSMS

ALTER DATABASE AxDB SET SINGLE_USER WITH ROLLBACK IMMEDIATE

GO

ALTER DATABASE AxDB MODIFY NAME = AxDBOrign

GO

ALTER DATABASE AxDBOrign SET MULTI_USER;

GO



After that change the path of your file and run this command in CMD


SqlPackage.exe /a:import /sf:D:\Exportedbacpac\my.bacpac /tsn:localhost /tdn:AxDB /p:CommandTimeout=30000  /TargetTrustServerCertificate:True


Regards 
Muhammad Farraz

email: farazjaved01@gmail.com


Comments

Popular posts from this blog

How to Bypass Next in COC in D365 X++

create movement journal through code in d365 FO x++