This blog is to learn and share SQL DBA and Azure SQL knowledge among people by Bandaru Ajeyudu & Sudheer Thota
Use below mentioned code for resolving this issue.
Use [SQLDBANOW]
ALTER DATABASE [SQLDBANOW] SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO
ALTER DATABASE [SQLDBANOW] SET MULTI_USER
No comments:
Post a Comment