Skip to content

Commit c11701e

Browse files
Merge pull request #386 from amieres/patch-1
Adding parameter -d to sqlcmd
2 parents 8dd0898 + b8e2e44 commit c11701e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/dynamic local db.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ your project (you can place it in the project root too, if you want):
6565
sqlcmd -S "(LocalDB)\MSSQLLocalDB" -i "createdb.sql"
6666
Remove-Item "createdb.sql"
6767
68-
sqlcmd -S "(LocalDB)\MSSQLLocalDB" -i "$DbScript"
68+
sqlcmd -S "(LocalDB)\MSSQLLocalDB" -i "$DbScript" -d "$DbName"
6969
7070
$detach_db_sql | Out-File "detachdb.sql"
7171
sqlcmd -S "(LocalDB)\MSSQLLocalDB" -i "detachdb.sql"

0 commit comments

Comments
 (0)