Transact SQL – Ensuring that Windows Account is not yet provisioned, prior to granting access

Background Trying to script provisioning of Windows Account in SQL Server. The basic things we want to do is Add the Login to the SQL Server Instance, add same to a couple of user databases, and grant membership to database roles.   Script Here is our original try Create Login I was happy and went … Continue reading Transact SQL – Ensuring that Windows Account is not yet provisioned, prior to granting access