Hi, all, my case is:My program uses login: userabc to execute:... ... ...restore database dbabcsp_change_users_login 'auto_fix', 'userabc'MERGE ... AS T USING ....... ... ...However, userabc doesn't have admin right, so it can't run the sp_change_users_login for itself, thus, my question is:Is it possible, in run time mode, to run sp_change_users_login as a SQL user who has the admin right, eg. sa. ?
↧