fixes #5998
Merge pull request #6029 from dotCMS/issue-5998-MSSQL-DDL-inside-snapshop-isolation-transaction

fixes #5998