Recently, I'm practicing the DB and trying to apply it to my project.
However, I am little bit confusing of changing default path of new DB. Some of colleague say that I can create DB then move it to the right place. Yet, I believe there is a much simple and direct way.
BTW, the default path is "C:\Users\|myname|
"
I've tried to change the default value in "SQL Server Object Explore" but it didn't work. I've tried to add "attachdbfilename=|path|
" as well, yet it failed either.
I know it is a really stupid question, but I really want to know the normal or regular way to set default path when creating new DB.
PS: The connection string I use now is
"`data source=(LocalDb)\MSSQLLocalDB;
initial catalog=ProjectDatabase.SpecificDatabase.ProjectDatabase;
integrated security=True;
MultipleActiveResultSets=True;
App=EntityFramework`"