Convert SQL Server Database To Local Database The Best Practice!!!

Publié le: 22 juillet 2018
sur la chaîne: The Amazing Codeverse
6,942
42

how to change sql database into a local database.

Requirement to use LocalDB:
Install SQL Server Express Edition (Specially LocalDB feature)

Project Files:
https://www.dropbox.com/s/sq00bhu0zka...

Download SQL Server 2016 (All Editions):
https://www.microsoft.com/en-us/downl...

If you are getting error:
   • SQL Server | Error Fix | A network related...  

CONNECTION STRING:
string domain = (AppDomain.CurrentDomain.BaseDirectory).ToString();

string connect = @"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename= " + domain + "YourLocalDBName.mdf;" + "Integrated Security=True;Connect Timeout=15;";

Note that:
YourLocalDBName.mdf is the only thing you have to change.


Sur cette page du site, vous pouvez voir la vidéo en ligne Convert SQL Server Database To Local Database The Best Practice!!! durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur The Amazing Codeverse 22 juillet 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 6,942 fois et il a aimé 42 téléspectateurs. Bon visionnage!