.mdf file not updated?
-
We are working on separate computers in different locations so we are not connected to a network. We are using SQL Server 2016 Express to develop a C# application in Visual Studio (college project). My group mate sent me the (.bak) and (.mdf) files of the database he was working on so I can view it and make the necessary updates. I saw the data in the files after restoring and attaching them respectively. Some columns that were in (.bak)file were not in the (.mdf) file, and I need the (.mdf) file to be updated/contain the same data with the .bak file so I can add a datasource to the application for easy retrieval of data. What could possibly have been the problem?
-
We are working on separate computers in different locations so we are not connected to a network. We are using SQL Server 2016 Express to develop a C# application in Visual Studio (college project). My group mate sent me the (.bak) and (.mdf) files of the database he was working on so I can view it and make the necessary updates. I saw the data in the files after restoring and attaching them respectively. Some columns that were in (.bak)file were not in the (.mdf) file, and I need the (.mdf) file to be updated/contain the same data with the .bak file so I can add a datasource to the application for easy retrieval of data. What could possibly have been the problem?
-
We are working on separate computers in different locations so we are not connected to a network. We are using SQL Server 2016 Express to develop a C# application in Visual Studio (college project). My group mate sent me the (.bak) and (.mdf) files of the database he was working on so I can view it and make the necessary updates. I saw the data in the files after restoring and attaching them respectively. Some columns that were in (.bak)file were not in the (.mdf) file, and I need the (.mdf) file to be updated/contain the same data with the .bak file so I can add a datasource to the application for easy retrieval of data. What could possibly have been the problem?
kmllev wrote:
What could possibly have been the problem?
Are you sure the columns are in the .bak file? Restore it to a new database, and make sure you have rights to write to the database; post any errors you see here :)
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)
-
kmllev wrote:
What could possibly have been the problem?
Are you sure the columns are in the .bak file? Restore it to a new database, and make sure you have rights to write to the database; post any errors you see here :)
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)