problems in SQL data could be due to a bad executable [closed] - c#

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
Using c# software for 3 yrs. Now, since 14th of august there is a problem with a table named summary having a column named jcdate which keeps updating itself to the 14th of august on its own.
Even if I pass a query to change the date it gets back to 14/08/2013 in a few moments.
Can it be due to a corrupt executable?

While it's impossible for the S/O community to know what is communicating with your database if even you don't, there is something you can do to possibly help. You will need to profile your database using a sql profiler tool if there is one available for your database. SQL Server, for example, uses a tool aptly named SQL Profiler. With a profiler tool, you can monitor all I/O that is occurring on your database. A little detective work will be involved, but I believe this is the direction you need to be going.

Related

Save data into local database in visual studio 2019 [closed]

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

Listing contents of SQL table on ASP.NET web page [closed]

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

Does debugger have a load timer somewhere? [closed]

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
I just bought visual studio 2013, and am using the debugger. I am wondering if there is something built in that will tell you how long something takes to load--How long a variable takes to get populated, one breakpoint to another, etc. Is this possible somehow?
You can use Profilers for such statistics.
Have look at Analyzing Application Performance by Using Profiling Tools.
I would also recommend watching Visual Studio 2013 Performance and Diagnostic Hub
For good dotnet Profilers have a look at this post :
What Are Some Good .NET Profilers?
As a side note:
There are different profilers for different languages and chores, you need to specify what exactly you need, then you can pick their respective profilers.
For example if you needed to work with DataBases, you could use sqlsever profiler, or Oracle profiler,(all major DMBSs have their profilers) the same thing goes to c++, etc

How to update Database Using Database first approach [closed]

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!

Upgrade from SQL Server Express [closed]

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.

Categories