Skip to main content
10 events
when toggle format what by license comment
S Nov 26, 2019 at 3:02 history suggested Chris Missal CC BY-SA 4.0
corrects typo and removes unnecessary comment to get the edit more than 6 characters
Nov 25, 2019 at 22:25 review Suggested edits
S Nov 26, 2019 at 3:02
S Mar 26, 2018 at 5:08 history suggested abatishchev CC BY-SA 3.0
Formatting
Mar 26, 2018 at 3:31 review Suggested edits
S Mar 26, 2018 at 5:08
Dec 27, 2017 at 18:19 comment added tgharold You've possibly misspelled AttachDBFilename.
Nov 22, 2017 at 8:52 comment added feO2x Currently, I'm not able to create a database via SQL / DDL at all. It doesn't matter if I run the statement via SSMS, or from code, or anywhere else, because LocalDB always tries to create the database directly in the Users directory (which is completely wrong, no files are allowed to exist in this directory).
Nov 22, 2017 at 8:35 comment added feO2x Thanks for your answer, but this does not really solve my problem. My test code creates a new database with a simple CREATE DATABASE [databasename] against LocalDB and this very statement is causing problems as LocalDB wrongly concatenates the default locations directory with the randomly generated database name (see paragraph 3 and 4 of my question). I need a way to fix the default locations so that this concatenation problem does not occur.
Nov 21, 2017 at 21:30 comment added RDFozz A couple of questions: First, just to be sure - you were getting an (Access is denied) error initially, and this resolved that, correct? Second - SQL Server Management Studio is the only application mentioned by the IP, and this doesn't sound like something you did from there - what application did you do all this from?
Nov 21, 2017 at 20:43 review First posts
Nov 21, 2017 at 21:30
Nov 21, 2017 at 20:42 history answered Doug Abrahamson CC BY-SA 3.0