I am setting up a laptop for interviews with developers, ready for coding tests. I want to create a database for each candidate, but long before the interview. My preparation is as follows:
- Login as administrator.
- Create a local Windows user for each candidate.
- Create a default local SQL instance database for each candidate (with a name in the database name).
Thus, when I log on to Windows as each candidate, if they open SSMS, they can only see their own database in the Object Explorer.
I want to do it this way, because often there is not enough time between interviews to back up / disconnect the previous candidate database and create the next candidate database (the machine is slow, so turning it off / on again, etc. takes time).
Is this possible, and if so, how?
Thank you very much in advance.
Neil barnwell
source share