Hello,
Thank you for posting to the Microsoft Community Forum.
According to the description, I understand that your question is related to SQL Server.
Since there are no engineers dedicated to SQL Server in this forum. In order to be able to get a quick and effective handling of your issue, I recommend that you repost your question in the Q&A forum, where there will be a dedicated engineer to give you a professional and effective reply.
Here is the link for Q&A forum.
Click the "Ask a Question" button in the upper right corner to post your question and select "SQL Server" tag and any other tags related to your productions.
Have a nice day!
Best Regards,
Shujun