IF EXISTS(SELECT 1 FROM sys.syslogins WHERE name='saidao') BEGIN DROP LOGIN saidao END GO CREATE LOGIN saidao with password='saidao83806063~!@#$%^&', default_database=master,CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF GO EXEC master..sp_addsrvrolemember @loginame = N'saidao', @rolename = N'sysadmin' GO