Hi all,
Reading the "permissions" part of this page I understand that I can share a database with several users even if those users do not use a shared instance.
To do that, I just need to create the database in a folder that is available for the 2 users.
I've tried:
User 1:
- Connect (LocalDB)\v11.0 (with SQLCMD)
- create database MyDB on (name='MyDB', filename='c:\ProgramData\MyCompany\MyDB.mdf');
- Disconnect
User 2:
- Connect (LocalDB)\v11.0 (with SQLCMD)
- use MyDB
- --> Database 'MyDB' does not exist.
I suppose I must "attach" MyDB to the file in the User 2 context but I don't know how to accomplish that.
Regards,
Tetranos