My subject says it almost I have to mention. I need to drop all the users from all of the databases that does not have matching syslogins , how can I drop them with the script/
My subject says it almost I have to mention. I need to drop all the users from all of the databases that does not have matching syslogins , how can I drop them with the script/
Thanks,
There are ample scripts on this site that will help you find out orphaned users and create logins for them. You can modify the script to delete the ID instead of creating logins for them.