Checking if a SQL Server login already exists
I need to check if a specific login already exists on the SQL Server, and if it doesn’t, then I need to add it. I have found the following code to actually add the login to the database, but I want to wrap this in an IF statement (somehow) to check if the login exists … Read more