changes the user access option of the pubs database to SINGLE_USER and generates an error if any other connections to the pubs database exist: : Alter Database « Database « SQL Server / T-SQL Tutorial
19. 3. 6. changes the user access option of the pubs database to SINGLE_USER and generates an error if any other connections to the pubs database exist: