Hello everyone I will need to extract all users from all existing databases in my instance for that I found that exec sp_MSforeachdb 'select * from ?.sys.sysusers' the problem is that I want the result in a single table while with exec sp_MSforeachdb I got this result Who can help me solve my problem thanks