Closed rubaboo closed 3 years ago
Thanks for the bug report! I have made a revision which needs some testing on a new branch called #260-sp_RestoreScript-@SingleUser=1-generates-wrong-ALTER-command , Normally @UndercoverDavid maintains sp_restorescript so I will leave this for him to review the changes and ensure he is happy, he may decide to tackle the fix in a different way but for the time being feel free to give this version a go.
Thanks again for taking the time to submit an issue.
Describe the bug
To Reproduce Run sp_RestoreScript with parameters @withMove...=..., @Replace=1, and @SingleUser=1.
Expected behavior
Additional context Latest version sp_RestoreScript 1.7