Before you ask, I'm not trying to hack anywhere, just debugging a faulty application for issues that support doesn't cover.
I have a MDF file from SQL Server 2012 where a limited-rights user was created. I have installed another copy of SQL Server and attached the original database, and added some membership roles to the existing user. Re-importing the MDF in the original SQL Server seems to work as now I can see at least the table objects. I'm having some troubles managing the roles though.
My goal is to be able to execute this SQL query https://stackoverflow.com/a/945290/7008500
Considering I only have access to the MDF files, is it actually feasible?
Thank you.