Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 months ago.
Improve this question
How I can migrate other developer database changes to my local database in Database first approve in visual studio.
I normally use SQL Server Tools in Visual Studio, you can compare and sync schema's using that. If you're missing it, go back to the installer and activate it.
Tools | SQL Server | New Data Comparison
Tools | SQL Server | New Schema Comparison
It will create a SQL file for you, or you can click to sync (not really recommended but works if you're careful!)
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I created a windows form in visual studio 2019 and l connected it to local database....but when l rebuild the project all the data removed from the database..why??
As commented on your question, it's not very clear how you are implementing the database.
I'm going assume that by the fact the data is not persisting that you are using a SQL Database file?
If this is the case then you want to make sure that you are not copying the DB to the output directory every time you build
If you are looking for data to persist across sessions then it would be better to host a local SQL Server. Check out Tim Corey's guide to SQL Database management and C# https://www.youtube.com/watch?v=ijDcHGxyqE4
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have Windows Server 2012 R2 and SQL Server 2016. There are many events writing to SQL table.
I want to build a web page to list events those are getting directly from connected SQL Server table.
Both SQL Server and IIS(8.5) are installed on the same machine.
The page would need to be dynamically updated whenever SQL Server table's record added/changed.
I really have no clue where to move on right now. Could anyone briefly explain me steps I need to do or throw me a proper "how to" article PLEASE?
Also, is there a way to performed without doing Visual Studio projects and such. I plan to automate the process with Powershell scripts.
This link should help you ...
https://msdn.microsoft.com/en-us/library/tw738475.aspx
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm trying find out what is the best solution for making a single table in a MSSQL database available for insert and update for a few users from a html interface.
I've got IIS server, reporting services, C#, visual studio and most microsoft tools of the 2008 version.
In php/mysql I would deploy a framework for editing tables. Whats the easiest MS solution?
Thank you
If you just want to perform edit, delete operation on front end, you can use grid view tool from asp.net.
you can find details at the following link,
http://www.aspdotnet-suresh.com/2011/02/how-to-inserteditupdate-and-delete-data.html
Hope this will help you.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have been trying to update the database when we deploy the application on the client's machine using sql queries. Now i want to update the database automatically. Is there any way to do this, i have heard of SQLMigrations but they say that it can only be used with Code first approach. Can anyone shed some light on this topic
You can use a Database Project in Visual Studio. With Database Projects, you can generate SQL Scripts for any existing database, you can create difference (update) scripts, you can add SQL scripts of your own, etc.
Database Projects are extremely handy in many scenarios. Check out this link on MSDN: http://msdn.microsoft.com/en-us/library/xee70aty.aspx
There is also guidance on CodeProject about this: http://www.codeproject.com/Articles/245612/Creating-a-Database-Project-with-Visual-Studio
You'll love it!
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Can I develop the system using SQL Server Express and then switch to a SQL Server (with the same scheme) using the same code (except connection obviously) when I deploy?
Assume that I only use features available in both versions.
Sure you can, that's what am I doing now
Yes. Just be careful when you do the move to make sure that your SQL Express instance is at the same service pack level (or lower) than your new SQL Standard/Developer/Enterprise edition, because if it's not, your databases won't attach... People can sometimes get confused about that when they make the switch.