Answer the question
In order to leave comments, you need to log in
How to install SQL Server database?
As I did before: I created a database in SSMS, then moved the database file to the folder with the program and connected to it and could transfer the program from one machine to another.
But what if I want the program, when transferred from one machine to another, to connect to its own database on its local server, because for this you need to manually upload this database to the server every time?
Can eat councils on interaction with a DB?
Answer the question
In order to leave comments, you need to log in
Installing SQL Server . Attach the detached mdf-file of your database to the program, which you attach on another machine. LocalDB can be used to simplify distribution of programs with local MS SQL .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question